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.00165/0.00165, 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.001339/0.001339, allocations: 169.9 kB / 22.45 MB, free: 2.109 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 1.036/1.036, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001731/0.001731, allocations: 244.5 kB / 259.4 MB, free: 13.02 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.8066/0.8066, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.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.653e-06/1.653e-06, allocations: 0 / 0.6462 GB, free: 1.945 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.492e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.3638/0.3638, allocations: 4.384 MB / 0.6505 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.4946, allocations: 132.7 MB / 0.7801 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009864/0.4956, allocations: 23.81 kB / 0.7802 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.4961, allocations: 194.2 kB / 0.7804 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.4977, allocations: 0.5769 MB / 0.7809 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.4994, allocations: 0.8685 MB / 0.7818 GB, free: 388 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.5012, allocations: 1.441 MB / 0.7832 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.5019, allocations: 396.5 kB / 0.7836 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008379/0.5027, allocations: 0.7289 MB / 0.7843 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004814/0.5032, allocations: 398.9 kB / 0.7846 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.5033, allocations: 120 kB / 0.7848 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008652/0.5042, allocations: 491.4 kB / 0.7852 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.5044, allocations: 311 kB / 0.7855 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.5047, allocations: 383 kB / 0.7859 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5065, allocations: 1.791 MB / 0.7876 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5065, allocations: 4 kB / 0.7876 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.296e-06/0.5065, allocations: 4 kB / 0.7876 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.165e-05/0.5065, allocations: 0 / 0.7876 GB, free: 10.32 MB / 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.002242/0.5088, allocations: 1.397 MB / 0.789 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5088, allocations: 9.938 kB / 0.789 GB, free: 8.887 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.509, allocations: 131.4 kB / 0.7891 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.5101, allocations: 252 kB / 0.7894 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.5113, allocations: 0.7064 MB / 0.7901 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.5113, allocations: 65.94 kB / 0.7901 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5115, allocations: 83.98 kB / 0.7902 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.513, allocations: 1.17 MB / 0.7914 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.513, allocations: 4 kB / 0.7914 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.5131, allocations: 40 kB / 0.7914 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5131, allocations: 20 kB / 0.7914 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.5143, allocations: 1.065 MB / 0.7925 GB, free: 5.219 MB / 0.6198 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.002867/0.5172, allocations: 2.238 MB / 0.7946 GB, free: 2.926 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.5184, allocations: 0.7782 MB / 0.7954 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.5188, allocations: 276.8 kB / 0.7957 GB, free: 1.875 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.5189, allocations: 24.64 kB / 0.7957 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006453/0.5195, allocations: 0.5878 MB / 0.7963 GB, free: 1.219 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=79): time 3.366e-06/0.5195, allocations: 4 kB / 0.7963 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of matching and sorting (n=79): time 0.001925/0.5214, allocations: 1.12 MB / 0.7974 GB, free: 92 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.5215, allocations: 192.6 kB / 0.7975 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/0.5222, allocations: 0.6528 MB / 0.7982 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.5222, allocations: 41.7 kB / 0.7982 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.5225, allocations: 405 kB / 0.7986 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.5227, allocations: 265.8 kB / 0.7989 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.5228, allocations: 146.6 kB / 0.799 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.523, allocations: 390.7 kB / 0.7994 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.5233, allocations: 241.9 kB / 0.7996 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.5238, allocations: 487.1 kB / 0.8001 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.5246, allocations: 0.5877 MB / 0.8006 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5246, allocations: 0 / 0.8006 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001192/0.5258, allocations: 0.8023 MB / 0.8014 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5258, allocations: 8 kB / 0.8014 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.5258, allocations: 1.094 kB / 0.8014 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.5261, allocations: 84.86 kB / 0.8015 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.5265, allocations: 147.7 kB / 0.8017 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.5286, allocations: 1.538 MB / 0.8032 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.529, allocations: 95.48 kB / 0.8033 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.529, allocations: 31.98 kB / 0.8033 GB, free: 9.75 MB / 0.6355 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.0003584/0.5294, allocations: 261.6 kB / 0.8035 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.5295, allocations: 95.36 kB / 0.8036 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.531, allocations: 1.054 MB / 0.8047 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5311, allocations: 11.98 kB / 0.8047 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.5311, allocations: 0.875 kB / 0.8047 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5311, allocations: 3.984 kB / 0.8047 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.5334, allocations: 1.829 MB / 0.8065 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.5334, allocations: 7.281 kB / 0.8065 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.5337, allocations: 143.8 kB / 0.8066 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.534, allocations: 64.8 kB / 0.8067 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.534, allocations: 28.78 kB / 0.8067 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.5354, allocations: 1.558 MB / 0.8082 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5354, allocations: 8 kB / 0.8082 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5367, allocations: 0.9984 MB / 0.8092 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.537, allocations: 211 kB / 0.8094 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.5371, allocations: 16 kB / 0.8094 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.5374, allocations: 63.92 kB / 0.8095 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.5375, allocations: 72.86 kB / 0.8095 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.5376, allocations: 31.98 kB / 0.8096 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000426/0.538, allocations: 479 kB / 0.81 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.538, allocations: 0 / 0.81 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007701/0.5388, allocations: 323.1 kB / 0.8103 GB, free: 2.324 MB / 0.6355 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.002967/0.5417, allocations: 2.108 MB / 0.8124 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.5429, allocations: 0.7727 MB / 0.8131 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5429, allocations: 4.188 kB / 0.8132 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.5434, allocations: 488.2 kB / 0.8136 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.5441, allocations: 314.1 kB / 0.8139 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006991/0.5511, allocations: 6.297 MB / 0.8201 GB, free: 8.441 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5514, allocations: 439.8 kB / 0.8205 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005594/0.552, allocations: 266.7 kB / 0.8207 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.5524, allocations: 380.3 kB / 0.8211 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/0.5524, allocations: 0 / 0.8211 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0485/0.6009, allocations: 23.63 MB / 0.8442 GB, free: 64 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.919, allocations: 0 / 0.8442 GB, free: 64 kB / 0.6667 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 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.253365389071405] Failed to read output from testmodel.py, exit status != 0: 9.076217842288315 9.085851624 8.577503895 Calling exit ...