Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.0008272/0.0008272, allocations: 101.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.0013/0.0013, allocations: 209.2 kB / 22.24 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.9467/0.9467, allocations: 230.6 MB / 256 MB, free: 9.609 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.7529/0.7529, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.0009562/0.0009562, allocations: 71.52 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.499/0.5, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004648/0.5046, allocations: 4.482 MB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.128/0.6327, allocations: 132.7 MB / 0.9518 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007715/0.6335, allocations: 23.81 kB / 0.9518 GB, free: 12 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.634, allocations: 202.2 kB / 0.952 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.6356, allocations: 0.5704 MB / 0.9526 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.6373, allocations: 0.8848 MB / 0.9534 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00123/0.6385, allocations: 1.44 MB / 0.9548 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007856/0.6393, allocations: 405.8 kB / 0.9552 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.6398, allocations: 0.5257 MB / 0.9557 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003919/0.6402, allocations: 489.6 kB / 0.9562 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.6403, allocations: 120 kB / 0.9563 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007673/0.6411, allocations: 495.6 kB / 0.9568 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.6413, allocations: 311 kB / 0.9571 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.6416, allocations: 481.7 kB / 0.9575 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.6429, allocations: 1.726 MB / 0.9592 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6429, allocations: 8 kB / 0.9592 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6429, allocations: 0 / 0.9592 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.6429, allocations: 4 kB / 0.9592 GB, free: 4.355 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00175/0.6447, allocations: 1.448 MB / 0.9606 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.6447, allocations: 12.03 kB / 0.9607 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.6449, allocations: 131.5 kB / 0.9608 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009113/0.6458, allocations: 256 kB / 0.961 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008767/0.6466, allocations: 0.7257 MB / 0.9617 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.6467, allocations: 66 kB / 0.9618 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.821e-05/0.6468, allocations: 80 kB / 0.9619 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.6481, allocations: 1.201 MB / 0.963 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6481, allocations: 3.938 kB / 0.9631 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.6482, allocations: 36 kB / 0.9631 GB, free: 244 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.6482, allocations: 20 kB / 0.9631 GB, free: 224 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6493, allocations: 1.081 MB / 0.9642 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.6518, allocations: 2.252 MB / 0.9664 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.6528, allocations: 0.7718 MB / 0.9671 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.6531, allocations: 282.6 kB / 0.9674 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.6531, allocations: 28.62 kB / 0.9674 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000612/0.6537, allocations: 0.6282 MB / 0.968 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/0.6538, allocations: 0 / 0.968 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=84): time 0.002157/0.6559, allocations: 1.184 MB / 0.9692 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.656, allocations: 192.9 kB / 0.9694 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.6566, allocations: 0.6723 MB / 0.97 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.6566, allocations: 41.7 kB / 0.9701 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.6568, allocations: 409.1 kB / 0.9704 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.657, allocations: 289.6 kB / 0.9707 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.6571, allocations: 150.6 kB / 0.9709 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6573, allocations: 394.7 kB / 0.9712 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.6576, allocations: 257.9 kB / 0.9715 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.658, allocations: 495.1 kB / 0.972 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.6587, allocations: 0.6008 MB / 0.9726 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6587, allocations: 0 / 0.9726 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001157/0.6599, allocations: 0.8335 MB / 0.9734 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6599, allocations: 12.03 kB / 0.9734 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.6599, allocations: 4 kB / 0.9734 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.6602, allocations: 80.7 kB / 0.9735 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.6606, allocations: 159.8 kB / 0.9736 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.662, allocations: 1.53 MB / 0.9751 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.6624, allocations: 87.53 kB / 0.9752 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.6625, allocations: 35.97 kB / 0.9752 GB, free: 3.402 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.000386/0.6629, allocations: 277.4 kB / 0.9755 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.663, allocations: 87.44 kB / 0.9756 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.6648, allocations: 1.14 MB / 0.9767 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6648, allocations: 8 kB / 0.9767 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6648, allocations: 4 kB / 0.9767 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.6648, allocations: 7.969 kB / 0.9767 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.667, allocations: 1.876 MB / 0.9785 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.667, allocations: 0 / 0.9785 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.6673, allocations: 155.7 kB / 0.9787 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002214/0.6675, allocations: 72.78 kB / 0.9788 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-05/0.6676, allocations: 27.97 kB / 0.9788 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.6687, allocations: 1.551 MB / 0.9803 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6687, allocations: 0 / 0.9803 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.67, allocations: 1.061 MB / 0.9813 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.6703, allocations: 207.1 kB / 0.9815 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.6704, allocations: 27.88 kB / 0.9816 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.6708, allocations: 67.92 kB / 0.9816 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.6709, allocations: 76.86 kB / 0.9817 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.6709, allocations: 39.97 kB / 0.9817 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004352/0.6714, allocations: 487 kB / 0.9822 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6714, allocations: 0 / 0.9822 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007379/0.6721, allocations: 331.2 kB / 0.9825 GB, free: 11.71 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002648/0.6747, allocations: 2.143 MB / 0.9846 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001193/0.6759, allocations: 0.8 MB / 0.9854 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6759, allocations: 0 / 0.9854 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.6765, allocations: 0.516 MB / 0.9859 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.6773, allocations: 312.1 kB / 0.9862 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007227/0.6846, allocations: 6.481 MB / 0.9925 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.6849, allocations: 449.3 kB / 0.9929 GB, free: 1.07 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006196/0.6855, allocations: 282.6 kB / 0.9932 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003957/0.6859, allocations: 415.2 kB / 0.9936 GB, free: 396 kB / 0.7605 GB Notification: Performance of SimCode: time 1.492e-06/0.6859, allocations: 3.938 kB / 0.9936 GB, free: 392 kB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03853/0.7244, allocations: 24.19 MB / 1.017 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.843, allocations: 2.188 kB / 1.017 GB, free: 8.406 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.782085778191686] Failed to read output from testmodel.py, exit status != 0: 8.991786805912852 9.003753152 8.358658001 Calling exit ...