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.001275/0.001275, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001445/0.001445, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.465/1.465, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8969/0.8969, allocations: 133.9 MB / 442.8 MB, free: 11.31 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_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.001974/0.001974, allocations: 64.77 kB / 0.6134 GB, free: 8.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1707, allocations: 85.85 MB / 0.6972 GB, free: 3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006236/0.1769, allocations: 4.13 MB / 0.7013 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5591/0.736, allocations: 153.9 MB / 0.8515 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009166/0.737, allocations: 23.81 kB / 0.8515 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.7376, allocations: 165.3 kB / 0.8517 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.7394, allocations: 497.2 kB / 0.8522 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.7415, allocations: 0.808 MB / 0.853 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001578/0.7431, allocations: 1.192 MB / 0.8541 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.7439, allocations: 453.1 kB / 0.8546 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000722/0.7446, allocations: 450.4 kB / 0.855 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.7452, allocations: 458 kB / 0.8554 GB, free: 6.348 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.7453, allocations: 104 kB / 0.8555 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.7465, allocations: 0.5083 MB / 0.856 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.7468, allocations: 271.1 kB / 0.8563 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005152/0.7473, allocations: 0.5012 MB / 0.8568 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.7493, allocations: 1.531 MB / 0.8583 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7494, allocations: 3.984 kB / 0.8583 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7494, allocations: 0 / 0.8583 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.7494, allocations: 4 kB / 0.8583 GB, free: 3.434 MB / 0.6231 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.002511/0.7519, allocations: 1.375 MB / 0.8596 GB, free: 2.004 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7519, allocations: 9.109 kB / 0.8596 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.7521, allocations: 131.1 kB / 0.8597 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.7538, allocations: 236 kB / 0.86 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.7551, allocations: 0.743 MB / 0.8607 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.7552, allocations: 58 kB / 0.8608 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.7553, allocations: 72 kB / 0.8608 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.7569, allocations: 0.8575 MB / 0.8617 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.7569, allocations: 0 / 0.8617 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.374e-05/0.757, allocations: 32 kB / 0.8617 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.757, allocations: 23.94 kB / 0.8617 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.7589, allocations: 1.061 MB / 0.8627 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004148/0.763, allocations: 2.372 MB / 0.8651 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.7645, allocations: 0.7553 MB / 0.8658 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.765, allocations: 250.4 kB / 0.866 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.7651, allocations: 28.59 kB / 0.8661 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/0.7659, allocations: 426.8 kB / 0.8665 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.074e-06/0.7659, allocations: 0 / 0.8665 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.003192/0.7691, allocations: 1.07 MB / 0.8675 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.7692, allocations: 192.5 kB / 0.8677 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/0.7701, allocations: 0.6057 MB / 0.8683 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.426e-05/0.7702, allocations: 41.7 kB / 0.8683 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.7706, allocations: 388.9 kB / 0.8687 GB, free: 8.398 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.7708, allocations: 245.9 kB / 0.8689 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/0.7711, allocations: 134.2 kB / 0.8691 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.7713, allocations: 378.8 kB / 0.8694 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.7717, allocations: 212.4 kB / 0.8696 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.7724, allocations: 322.7 kB / 0.8699 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.7734, allocations: 0.5156 MB / 0.8704 GB, free: 6.562 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7734, allocations: 4 kB / 0.8704 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00194/0.7754, allocations: 0.7201 MB / 0.8711 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.7754, allocations: 4 kB / 0.8712 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.7754, allocations: 4 kB / 0.8712 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006628/0.7761, allocations: 96.72 kB / 0.8712 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005979/0.7767, allocations: 123.9 kB / 0.8714 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.7793, allocations: 1.647 MB / 0.873 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.7799, allocations: 72.3 kB / 0.873 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.7799, allocations: 31.78 kB / 0.8731 GB, free: 3.715 MB / 0.6387 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.0004355/0.7804, allocations: 245.7 kB / 0.8733 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.7805, allocations: 87.48 kB / 0.8734 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.7829, allocations: 0.9604 MB / 0.8743 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.7829, allocations: 12 kB / 0.8743 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7829, allocations: 0 / 0.8743 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7829, allocations: 7.984 kB / 0.8743 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.7862, allocations: 1.852 MB / 0.8762 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.7862, allocations: 0 / 0.8762 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.7868, allocations: 135.8 kB / 0.8763 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.7872, allocations: 80.72 kB / 0.8764 GB, free: 268 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.7873, allocations: 19.98 kB / 0.8764 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.7894, allocations: 1.683 MB / 0.878 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7894, allocations: 0 / 0.878 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.7914, allocations: 0.8996 MB / 0.8789 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.7917, allocations: 264.2 kB / 0.8792 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.7918, allocations: 23.69 kB / 0.8792 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.7924, allocations: 48.8 kB / 0.8792 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.7925, allocations: 64.91 kB / 0.8793 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.7926, allocations: 27.98 kB / 0.8793 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006082/0.7932, allocations: 447 kB / 0.8797 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7932, allocations: 0 / 0.8797 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008719/0.7941, allocations: 287.2 kB / 0.88 GB, free: 12.35 MB / 0.6544 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.004198/0.7983, allocations: 1.954 MB / 0.8819 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.7999, allocations: 0.6926 MB / 0.8826 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7999, allocations: 3.938 kB / 0.8826 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009303/0.8009, allocations: 456.5 kB / 0.883 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.8022, allocations: 273.3 kB / 0.8833 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.8133, allocations: 5.911 MB / 0.8891 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/0.814, allocations: 1.007 MB / 0.8901 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007415/0.8147, allocations: 246.2 kB / 0.8903 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005332/0.8152, allocations: 355.3 kB / 0.8906 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of SimCode: time 7.21e-07/0.8152, allocations: 0 / 0.8906 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/0.8884, allocations: 20.02 MB / 0.9102 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.01, allocations: 10.86 kB / 0.9102 GB, free: 13.72 MB / 0.6856 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 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.004815182997845] Failed to read output from testmodel.py, exit status != 0: 14.212870147996 14.228334447 13.476023726 Calling exit ...