Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.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.001555/0.001555, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.001918/0.001918, allocations: 218.7 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8778/0.8778, allocations: 134 MB / 447.2 MB, free: 9.965 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",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.001901/0.001901, allocations: 62 kB / 0.6192 GB, free: 6.953 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1727, allocations: 85.92 MB / 0.7031 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006287/0.179, allocations: 3.755 MB / 0.7068 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5621/0.7411, allocations: 132.5 MB / 0.8361 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.742, allocations: 22.59 kB / 0.8362 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005797/0.7426, allocations: 171.6 kB / 0.8363 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.7441, allocations: 0.4897 MB / 0.8368 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.746, allocations: 0.8153 MB / 0.8376 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.7472, allocations: 1.19 MB / 0.8388 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.7479, allocations: 442 kB / 0.8392 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005813/0.7485, allocations: 456.7 kB / 0.8396 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.749, allocations: 454.6 kB / 0.84 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.7491, allocations: 107.4 kB / 0.8402 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009701/0.7501, allocations: 0.4935 MB / 0.8406 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.7504, allocations: 271.1 kB / 0.8409 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.7508, allocations: 409.9 kB / 0.8413 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.7528, allocations: 1.547 MB / 0.8428 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.7528, allocations: 4 kB / 0.8428 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7528, allocations: 8 kB / 0.8428 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.7528, allocations: 0 / 0.8428 GB, free: 4.316 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002253/0.7551, allocations: 1.292 MB / 0.8441 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7551, allocations: 11.97 kB / 0.8441 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.638e-05/0.7551, allocations: 22.19 kB / 0.8441 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.7553, allocations: 127 kB / 0.8442 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.7569, allocations: 236 kB / 0.8444 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.7581, allocations: 0.672 MB / 0.8451 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.7581, allocations: 61.94 kB / 0.8452 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.7582, allocations: 76 kB / 0.8452 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/0.7599, allocations: 1.111 MB / 0.8463 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.7599, allocations: 0 / 0.8463 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.76, allocations: 36 kB / 0.8464 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.76, allocations: 20 kB / 0.8464 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.7618, allocations: 1.062 MB / 0.8474 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.7656, allocations: 2.107 MB / 0.8495 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.7669, allocations: 0.6754 MB / 0.8501 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.7674, allocations: 254 kB / 0.8504 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-05/0.7674, allocations: 24.62 kB / 0.8504 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009565/0.7684, allocations: 0.5147 MB / 0.8509 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.394e-06/0.7684, allocations: 0 / 0.8509 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.003008/0.7714, allocations: 1.012 MB / 0.8519 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.7715, allocations: 188.6 kB / 0.8521 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/0.7725, allocations: 0.6058 MB / 0.8527 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.7725, allocations: 41.7 kB / 0.8527 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.7729, allocations: 388.9 kB / 0.8531 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.7732, allocations: 241.9 kB / 0.8533 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.7734, allocations: 138.2 kB / 0.8534 GB, free: 9.074 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.7736, allocations: 374.8 kB / 0.8538 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004456/0.774, allocations: 213.2 kB / 0.854 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.7746, allocations: 447.3 kB / 0.8544 GB, free: 8 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009869/0.7756, allocations: 0.5316 MB / 0.8549 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7756, allocations: 0 / 0.8549 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001801/0.7774, allocations: 0.7161 MB / 0.8556 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7775, allocations: 8 kB / 0.8556 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7775, allocations: 0 / 0.8556 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.7781, allocations: 88.84 kB / 0.8557 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/0.7787, allocations: 131.8 kB / 0.8559 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.781, allocations: 1.527 MB / 0.8573 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.7817, allocations: 71.61 kB / 0.8574 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/0.7817, allocations: 28.05 kB / 0.8574 GB, free: 4.762 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.000452/0.7822, allocations: 251.4 kB / 0.8577 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.7823, allocations: 87.42 kB / 0.8578 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.7846, allocations: 0.9641 MB / 0.8587 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7846, allocations: 11.98 kB / 0.8587 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.7846, allocations: 0 / 0.8587 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.7846, allocations: 3.984 kB / 0.8587 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.7878, allocations: 1.707 MB / 0.8604 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7878, allocations: 0 / 0.8604 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/0.7883, allocations: 143.7 kB / 0.8605 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.7888, allocations: 80.34 kB / 0.8606 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.7888, allocations: 15.98 kB / 0.8606 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/0.791, allocations: 1.566 MB / 0.8621 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.791, allocations: 0 / 0.8621 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.7929, allocations: 0.9074 MB / 0.863 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.7933, allocations: 187.2 kB / 0.8632 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7934, allocations: 23.92 kB / 0.8632 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.794, allocations: 48.66 kB / 0.8633 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.7941, allocations: 64.88 kB / 0.8633 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.9e-05/0.7942, allocations: 35.92 kB / 0.8634 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006049/0.7948, allocations: 439 kB / 0.8638 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7948, allocations: 4 kB / 0.8638 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008789/0.7957, allocations: 287.2 kB / 0.8641 GB, free: 13.76 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.004024/0.7997, allocations: 1.98 MB / 0.866 GB, free: 12 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.8013, allocations: 0.6927 MB / 0.8667 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8013, allocations: 4 kB / 0.8667 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000863/0.8021, allocations: 452.3 kB / 0.8671 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.8033, allocations: 279.1 kB / 0.8674 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.814, allocations: 5.904 MB / 0.8731 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.8144, allocations: 414.1 kB / 0.8735 GB, free: 4.145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007764/0.8152, allocations: 250.1 kB / 0.8738 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.8157, allocations: 363.2 kB / 0.8741 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.8157, allocations: 0 / 0.8741 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0524/0.8681, allocations: 21.2 MB / 0.8948 GB, free: 14.56 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/14.43, allocations: 8 kB / 0.8948 GB, free: 14.55 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.27647252904717] Failed to read output from testmodel.py, exit status != 0: 14.702235633973032 14.718420165 13.962498645 Calling exit ...