Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007588/0.0007588, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007663/0.0007663, allocations: 218.7 kB / 22.25 MB, free: 3.57 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9243/0.9243, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7717/0.7717, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009019/0.0009019, allocations: 66.25 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5073/0.5082, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005559/0.5137, allocations: 5.368 MB / 0.823 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1288/0.6425, allocations: 132.9 MB / 0.9528 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009445/0.6435, allocations: 27.75 kB / 0.9529 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.6441, allocations: 245.7 kB / 0.9531 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.6458, allocations: 0.6547 MB / 0.9537 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.6475, allocations: 0.8915 MB / 0.9546 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.6489, allocations: 1.661 MB / 0.9562 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.6495, allocations: 0.5854 MB / 0.9568 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007164/0.6502, allocations: 0.6423 MB / 0.9574 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.6508, allocations: 0.5908 MB / 0.958 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.6509, allocations: 156 kB / 0.9581 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.6518, allocations: 0.5192 MB / 0.9587 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.652, allocations: 390.7 kB / 0.959 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005859/0.6526, allocations: 0.5949 MB / 0.9596 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.6549, allocations: 2.103 MB / 0.9617 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/0.6549, allocations: 8 kB / 0.9617 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.567e-06/0.6549, allocations: 0 / 0.9617 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.51e-05/0.655, allocations: 0 / 0.9617 GB, free: 1.777 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002844/0.6578, allocations: 1.713 MB / 0.9633 GB, free: 24 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.6579, allocations: 12.03 kB / 0.9634 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.6581, allocations: 177.8 kB / 0.9635 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.6591, allocations: 279.8 kB / 0.9638 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.6602, allocations: 0.8233 MB / 0.9646 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.6602, allocations: 86.41 kB / 0.9647 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.6603, allocations: 116 kB / 0.9648 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.6617, allocations: 1.461 MB / 0.9662 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.6617, allocations: 0 / 0.9662 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.6618, allocations: 48 kB / 0.9663 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.6618, allocations: 32 kB / 0.9663 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.6631, allocations: 1.234 MB / 0.9675 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.6659, allocations: 2.78 MB / 0.9702 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009737/0.6669, allocations: 0.8177 MB / 0.971 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.6672, allocations: 298.7 kB / 0.9713 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.9e-05/0.6673, allocations: 24.62 kB / 0.9713 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.6679, allocations: 0.6179 MB / 0.9719 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=87): time 1.923e-06/0.6679, allocations: 0 / 0.9719 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87): time 0.001887/0.6698, allocations: 1.215 MB / 0.9731 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.6698, allocations: 188.9 kB / 0.9733 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.6705, allocations: 0.7666 MB / 0.974 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.6705, allocations: 45.7 kB / 0.9741 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.6708, allocations: 0.5321 MB / 0.9746 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.6709, allocations: 301.4 kB / 0.9749 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.6711, allocations: 158.5 kB / 0.975 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.6711, allocations: 337.9 kB / 0.9754 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.6715, allocations: 269.9 kB / 0.9756 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.6719, allocations: 0.5068 MB / 0.9761 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.6726, allocations: 0.6359 MB / 0.9767 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6726, allocations: 0 / 0.9767 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00114/0.6738, allocations: 0.8765 MB / 0.9776 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6738, allocations: 11.94 kB / 0.9776 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6738, allocations: 0 / 0.9776 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003209/0.6741, allocations: 84.86 kB / 0.9777 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.6745, allocations: 163.7 kB / 0.9778 GB, free: 0.707 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.6758, allocations: 1.526 MB / 0.9793 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003345/0.6761, allocations: 103.5 kB / 0.9794 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.6762, allocations: 31.98 kB / 0.9795 GB, free: 14.93 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.6765, allocations: 293.5 kB / 0.9797 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6766, allocations: 107.3 kB / 0.9798 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.678, allocations: 1.126 MB / 0.9809 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.678, allocations: 8 kB / 0.9809 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.678, allocations: 4 kB / 0.9809 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.678, allocations: 11.95 kB / 0.981 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007181/0.6787, allocations: 0.8874 MB / 0.9818 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6787, allocations: 7.938 kB / 0.9818 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.679, allocations: 155.8 kB / 0.982 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.6792, allocations: 68.8 kB / 0.982 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.6793, allocations: 31.91 kB / 0.9821 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.6804, allocations: 1.555 MB / 0.9836 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6804, allocations: 0 / 0.9836 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.6816, allocations: 0.9908 MB / 0.9846 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.6818, allocations: 215 kB / 0.9848 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.6819, allocations: 23.98 kB / 0.9848 GB, free: 9.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.6822, allocations: 63.88 kB / 0.9849 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6823, allocations: 80.78 kB / 0.9849 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.6824, allocations: 35.98 kB / 0.985 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000456/0.6828, allocations: 0.5342 MB / 0.9855 GB, free: 8.543 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.6828, allocations: 4 kB / 0.9855 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006278/0.6835, allocations: 394.8 kB / 0.9859 GB, free: 8.152 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/0.6858, allocations: 2.076 MB / 0.9879 GB, free: 6.289 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.6869, allocations: 0.8275 MB / 0.9887 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6869, allocations: 0 / 0.9887 GB, free: 5.449 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.6874, allocations: 0.5118 MB / 0.9892 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.6881, allocations: 333 kB / 0.9895 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/0.6955, allocations: 7.138 MB / 0.9965 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.6959, allocations: 0.5224 MB / 0.997 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005389/0.6964, allocations: 291.6 kB / 0.9973 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.6969, allocations: 487.2 kB / 0.9977 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.6969, allocations: 0 / 0.9977 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03805/0.7349, allocations: 26.22 MB / 1.023 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.004/8.739, allocations: 0 / 1.023 GB, free: 2.043 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.696815168950707] Failed to read output from testmodel.py, exit status != 0: 8.88736885599792 8.896407295 8.239337772 Calling exit ...