Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001304/0.001304, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001414/0.001414, allocations: 212 kB / 22.24 MB, free: 5.242 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.424/1.424, allocations: 230.6 MB / 256 MB, free: 7.801 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.8204/0.8204, allocations: 134 MB / 446.4 MB, free: 9.922 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.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.002242/0.002242, allocations: 71.02 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1801, allocations: 85.91 MB / 0.7024 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006439/0.1865, allocations: 3.816 MB / 0.7061 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5705/0.757, allocations: 132.5 MB / 0.8355 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.7577, allocations: 22.94 kB / 0.8356 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.7583, allocations: 176.6 kB / 0.8357 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.7599, allocations: 0.5063 MB / 0.8362 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.7617, allocations: 0.8196 MB / 0.837 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.7628, allocations: 1.22 MB / 0.8382 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006842/0.7635, allocations: 422.8 kB / 0.8386 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.7641, allocations: 468.6 kB / 0.8391 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.7646, allocations: 419.4 kB / 0.8395 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.7647, allocations: 104 kB / 0.8396 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.7656, allocations: 485.5 kB / 0.84 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.7659, allocations: 283.1 kB / 0.8403 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004062/0.7663, allocations: 409.9 kB / 0.8407 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.7682, allocations: 1.543 MB / 0.8422 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.7682, allocations: 4 kB / 0.8422 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7682, allocations: 0 / 0.8422 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.7682, allocations: 3.469 kB / 0.8422 GB, free: 4.148 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002257/0.7705, allocations: 1.319 MB / 0.8435 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7705, allocations: 8.031 kB / 0.8435 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.7707, allocations: 132.9 kB / 0.8436 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.7722, allocations: 236.1 kB / 0.8439 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.7734, allocations: 0.6869 MB / 0.8445 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.7735, allocations: 58 kB / 0.8446 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.7736, allocations: 80 kB / 0.8447 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.7752, allocations: 1.115 MB / 0.8457 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.7752, allocations: 0 / 0.8457 GB, free: 368 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/0.7753, allocations: 43.98 kB / 0.8458 GB, free: 324 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.7753, allocations: 19.94 kB / 0.8458 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.777, allocations: 1.026 MB / 0.8468 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.7807, allocations: 2.107 MB / 0.8489 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.782, allocations: 0.6723 MB / 0.8495 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.7825, allocations: 258.7 kB / 0.8498 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.7825, allocations: 28.62 kB / 0.8498 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.7834, allocations: 0.5175 MB / 0.8503 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.7834, allocations: 0 / 0.8503 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.003038/0.7864, allocations: 1.019 MB / 0.8513 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.7866, allocations: 192.5 kB / 0.8515 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/0.7875, allocations: 0.6135 MB / 0.8521 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.7876, allocations: 41.7 kB / 0.8521 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000379/0.788, allocations: 392.9 kB / 0.8525 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.7882, allocations: 249.9 kB / 0.8527 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.7884, allocations: 138.2 kB / 0.8529 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.7886, allocations: 378.8 kB / 0.8532 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.7891, allocations: 217.2 kB / 0.8534 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006338/0.7897, allocations: 452.2 kB / 0.8539 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.7907, allocations: 0.5402 MB / 0.8544 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.7908, allocations: 3.938 kB / 0.8544 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001815/0.7926, allocations: 0.7279 MB / 0.8551 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7926, allocations: 11.75 kB / 0.8551 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7926, allocations: 0 / 0.8551 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.7932, allocations: 88.83 kB / 0.8552 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005876/0.7938, allocations: 131.9 kB / 0.8553 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.796, allocations: 1.527 MB / 0.8568 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/0.7966, allocations: 75.61 kB / 0.8569 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.7966, allocations: 27.98 kB / 0.8569 GB, free: 4.508 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0005015/0.7971, allocations: 255.9 kB / 0.8572 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.7973, allocations: 87.42 kB / 0.8572 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.7997, allocations: 1.003 MB / 0.8582 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.7997, allocations: 8 kB / 0.8582 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7997, allocations: 4 kB / 0.8582 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.7997, allocations: 3.984 kB / 0.8582 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.8031, allocations: 1.748 MB / 0.8599 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.8032, allocations: 3.984 kB / 0.8599 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.8037, allocations: 147.8 kB / 0.8601 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.8042, allocations: 72.8 kB / 0.8602 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.8042, allocations: 19.98 kB / 0.8602 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.8064, allocations: 1.543 MB / 0.8617 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.8064, allocations: 7.969 kB / 0.8617 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.8085, allocations: 0.9243 MB / 0.8626 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.8089, allocations: 191 kB / 0.8628 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.809, allocations: 16 kB / 0.8628 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005702/0.8096, allocations: 59.94 kB / 0.8628 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.8097, allocations: 64.88 kB / 0.8629 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.698e-05/0.8098, allocations: 31.98 kB / 0.8629 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000632/0.8104, allocations: 447 kB / 0.8634 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.8104, allocations: 0 / 0.8634 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008949/0.8113, allocations: 291.2 kB / 0.8636 GB, free: 13.41 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 (87): * Single equations (assignments): 84 * 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.004109/0.8154, allocations: 2.004 MB / 0.8656 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.817, allocations: 0.7084 MB / 0.8663 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.817, allocations: 0 / 0.8663 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009059/0.8179, allocations: 472.1 kB / 0.8667 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.8191, allocations: 287.1 kB / 0.867 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.83, allocations: 5.98 MB / 0.8729 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.8305, allocations: 419.2 kB / 0.8733 GB, free: 3.641 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008038/0.8313, allocations: 254.3 kB / 0.8735 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.8318, allocations: 367.3 kB / 0.8739 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of SimCode: time 1.032e-06/0.8318, allocations: 0 / 0.8739 GB, free: 3.027 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06319/0.895, allocations: 21.69 MB / 0.895 GB, free: 13.54 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.62, allocations: 4.062 kB / 0.895 GB, free: 13.53 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.397768342867494] Failed to read output from testmodel.py, exit status != 0: 13.84305712999776 13.858484873 13.087122424 Calling exit ...