Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.000941/0.000941, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009008/0.0009008, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.889/0.889, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001684/0.001684, allocations: 234.4 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6573/0.6573, allocations: 138.4 MB / 454.3 MB, free: 1.598 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6463 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.269e-05, allocations: 5.172 kB / 0.6463 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004081/0.004094, allocations: 4.385 MB / 0.6505 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.1196/0.1237, allocations: 132.7 MB / 0.7802 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008497/0.1245, allocations: 23.81 kB / 0.7802 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.125, allocations: 202.1 kB / 0.7804 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.1263, allocations: 0.574 MB / 0.7809 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1276, allocations: 0.865 MB / 0.7818 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009365/0.1286, allocations: 1.432 MB / 0.7832 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005554/0.1291, allocations: 409.7 kB / 0.7836 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.1298, allocations: 0.725 MB / 0.7843 GB, free: 3.844 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.1301, allocations: 398 kB / 0.7847 GB, free: 3.457 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.269e-05/0.1302, allocations: 116 kB / 0.7848 GB, free: 3.344 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.1307, allocations: 0.4915 MB / 0.7852 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1309, allocations: 307 kB / 0.7855 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.1312, allocations: 387 kB / 0.7859 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.1324, allocations: 1.787 MB / 0.7877 GB, free: 388 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1324, allocations: 8 kB / 0.7877 GB, free: 380 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1324, allocations: 0 / 0.7877 GB, free: 380 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.1324, allocations: 0 / 0.7877 GB, free: 380 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001517/0.1339, allocations: 1.396 MB / 0.789 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.134, allocations: 8.75 kB / 0.789 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.1341, allocations: 139.4 kB / 0.7892 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.1349, allocations: 240 kB / 0.7894 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.136, allocations: 0.7103 MB / 0.7901 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.136, allocations: 69.94 kB / 0.7902 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.265e-05/0.1361, allocations: 83.92 kB / 0.7902 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1371, allocations: 1.181 MB / 0.7914 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1371, allocations: 4 kB / 0.7914 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.304e-05/0.1372, allocations: 32 kB / 0.7914 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1372, allocations: 20 kB / 0.7914 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1383, allocations: 1.065 MB / 0.7925 GB, free: 11.25 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.1405, allocations: 2.246 MB / 0.7947 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.1415, allocations: 0.7748 MB / 0.7954 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.1419, allocations: 274.7 kB / 0.7957 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.443e-05/0.142, allocations: 32.56 kB / 0.7957 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005639/0.1425, allocations: 0.5839 MB / 0.7963 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 2.314e-06/0.1425, allocations: 0 / 0.7963 GB, free: 7.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.001978/0.1445, allocations: 1.128 MB / 0.7974 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.1446, allocations: 192.6 kB / 0.7976 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.1451, allocations: 0.645 MB / 0.7982 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.1451, allocations: 41.7 kB / 0.7982 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.1453, allocations: 409 kB / 0.7986 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.1454, allocations: 265.8 kB / 0.7989 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1456, allocations: 142.6 kB / 0.799 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1457, allocations: 390.7 kB / 0.7994 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.146, allocations: 245.9 kB / 0.7996 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.1464, allocations: 491 kB / 0.8001 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.147, allocations: 0.58 MB / 0.8007 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.147, allocations: 0 / 0.8007 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001036/0.1481, allocations: 0.8023 MB / 0.8015 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1481, allocations: 8 kB / 0.8015 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1481, allocations: 0 / 0.8015 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.1484, allocations: 84.86 kB / 0.8015 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/0.1487, allocations: 147.8 kB / 0.8017 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.15, allocations: 1.544 MB / 0.8032 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/0.1505, allocations: 91.5 kB / 0.8033 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.1505, allocations: 31.92 kB / 0.8033 GB, free: 15.77 MB / 0.6511 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 (85): * Single equations (assignments): 84 * 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.000245/0.1507, allocations: 265.6 kB / 0.8036 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/0.1508, allocations: 95.38 kB / 0.8037 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.1521, allocations: 1.07 MB / 0.8047 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1521, allocations: 8 kB / 0.8047 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1521, allocations: 0 / 0.8047 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.1521, allocations: 3.984 kB / 0.8047 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1539, allocations: 1.818 MB / 0.8065 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1539, allocations: 4 kB / 0.8065 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.1542, allocations: 147.8 kB / 0.8066 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.1544, allocations: 68.78 kB / 0.8067 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.1545, allocations: 23.98 kB / 0.8067 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.1555, allocations: 1.562 MB / 0.8082 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1555, allocations: 3.938 kB / 0.8082 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1566, allocations: 0.9984 MB / 0.8092 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.1568, allocations: 211.1 kB / 0.8094 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.1569, allocations: 20 kB / 0.8094 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.1572, allocations: 59.94 kB / 0.8095 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.424e-05/0.1573, allocations: 72.86 kB / 0.8096 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.1573, allocations: 39.91 kB / 0.8096 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003571/0.1577, allocations: 475 kB / 0.8101 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.1577, allocations: 0 / 0.8101 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007386/0.1584, allocations: 323.2 kB / 0.8104 GB, free: 8.312 MB / 0.6511 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.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 (90): * Single equations (assignments): 84 * 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.002342/0.1607, allocations: 2.093 MB / 0.8124 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000964/0.1617, allocations: 0.7689 MB / 0.8132 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1617, allocations: 4 kB / 0.8132 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.1622, allocations: 0.4884 MB / 0.8136 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006658/0.1629, allocations: 298.6 kB / 0.8139 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.1693, allocations: 6.304 MB / 0.8201 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.1695, allocations: 435.8 kB / 0.8205 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00043/0.17, allocations: 266.6 kB / 0.8208 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.1703, allocations: 384.2 kB / 0.8211 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of SimCode: time 6.21e-07/0.1703, allocations: 4 kB / 0.8211 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0359/0.2062, allocations: 23.62 MB / 0.8442 GB, free: 6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/9.013, allocations: 7.188 kB / 0.8442 GB, free: 5.996 MB / 0.6823 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.101466735824943] Failed to read output from testmodel.py, exit status != 0: 9.168125289492309 9.178665913 9.044312763 Calling exit ...