Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.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.001078/0.001078, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009254/0.0009254, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9103/0.9103, 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.00149/0.00149, allocations: 233.6 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.6808/0.6808, allocations: 138.4 MB / 454.3 MB, free: 1.609 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.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.054e-05, allocations: 6.281 kB / 0.6463 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1205/0.1205, allocations: 148.3 MB / 0.7911 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.1339, allocations: 16.18 MB / 0.8069 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.1346, allocations: 39.69 kB / 0.8069 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1356, allocations: 0.5697 MB / 0.8075 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.1384, allocations: 1.886 MB / 0.8093 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.1405, allocations: 1.492 MB / 0.8108 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.1423, allocations: 2.964 MB / 0.8137 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.1435, allocations: 1.582 MB / 0.8152 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/0.146, allocations: 2.011 MB / 0.8172 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.1468, allocations: 0.927 MB / 0.8181 GB, free: 1.133 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.1469, allocations: 224 kB / 0.8183 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.1489, allocations: 1.473 MB / 0.8197 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004798/0.1493, allocations: 0.849 MB / 0.8206 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005835/0.1499, allocations: 0.8728 MB / 0.8214 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002767/0.1527, allocations: 3.945 MB / 0.8253 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1527, allocations: 0 / 0.8253 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1527, allocations: 0 / 0.8253 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.1527, allocations: 3.938 kB / 0.8253 GB, free: 9.75 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.002916/0.1556, allocations: 2.98 MB / 0.8282 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1557, allocations: 8.75 kB / 0.8282 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/0.1559, allocations: 244.9 kB / 0.8284 GB, free: 6.465 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.158, allocations: 0.6423 MB / 0.8291 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.1609, allocations: 3.39 MB / 0.8324 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/0.1609, allocations: 123.4 kB / 0.8325 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.1611, allocations: 172 kB / 0.8327 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1633, allocations: 2.721 MB / 0.8353 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1634, allocations: 0 / 0.8353 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.1635, allocations: 75.94 kB / 0.8354 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.1635, allocations: 43.94 kB / 0.8354 GB, free: 15.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.1657, allocations: 2.066 MB / 0.8374 GB, free: 12.96 MB / 0.6823 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.00544/0.1711, allocations: 5.119 MB / 0.8424 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1731, allocations: 1.732 MB / 0.8441 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000914/0.174, allocations: 0.7182 MB / 0.8448 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.1743, allocations: 113.2 kB / 0.8449 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/0.1755, allocations: 1.633 MB / 0.8465 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 2.625e-06/0.1755, allocations: 0 / 0.8465 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.003739/0.1793, allocations: 2.64 MB / 0.8491 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.1793, allocations: 197.2 kB / 0.8493 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.1822, allocations: 4.13 MB / 0.8533 GB, free: 12.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.952e-05/0.1823, allocations: 61.7 kB / 0.8534 GB, free: 12.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/0.1828, allocations: 0.9117 MB / 0.8543 GB, free: 11.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.183, allocations: 499.7 kB / 0.8548 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.1832, allocations: 242.8 kB / 0.855 GB, free: 10.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.1833, allocations: 353.9 kB / 0.8553 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006961/0.184, allocations: 0.5843 MB / 0.8559 GB, free: 9.703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/0.185, allocations: 1.235 MB / 0.8571 GB, free: 8.301 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.1864, allocations: 1.341 MB / 0.8584 GB, free: 6.949 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1864, allocations: 0 / 0.8584 GB, free: 6.949 MB / 0.698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002301/0.1887, allocations: 1.804 MB / 0.8602 GB, free: 5.121 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1888, allocations: 7.938 kB / 0.8602 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1888, allocations: 0 / 0.8602 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/0.1893, allocations: 220.1 kB / 0.8604 GB, free: 4.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.19, allocations: 323.6 kB / 0.8607 GB, free: 4.566 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2582/0.4483, allocations: 6.777 MB / 0.8673 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4497, allocations: 178.5 kB / 0.8675 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.4498, allocations: 52.16 kB / 0.8675 GB, free: 209.7 MB / 0.698 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 (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009757/0.4507, allocations: 0.491 MB / 0.868 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/0.4512, allocations: 210.3 kB / 0.8682 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.4546, allocations: 2.153 MB / 0.8703 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.4546, allocations: 14.91 kB / 0.8703 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4546, allocations: 6.125 kB / 0.8704 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.4546, allocations: 9.062 kB / 0.8704 GB, free: 209.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/0.4597, allocations: 3.847 MB / 0.8741 GB, free: 207.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4597, allocations: 0 / 0.8741 GB, free: 207.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.4605, allocations: 323.1 kB / 0.8744 GB, free: 207.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/0.461, allocations: 203.2 kB / 0.8746 GB, free: 207.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.4611, allocations: 38.36 kB / 0.8747 GB, free: 207.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.4639, allocations: 6.818 MB / 0.8813 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4639, allocations: 1.219 kB / 0.8813 GB, free: 201.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.4667, allocations: 2.034 MB / 0.8833 GB, free: 200.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008045/0.4675, allocations: 462.5 kB / 0.8837 GB, free: 200.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.4677, allocations: 31.52 kB / 0.8838 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.4684, allocations: 123.6 kB / 0.8839 GB, free: 200.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4686, allocations: 115.5 kB / 0.884 GB, free: 200.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/0.4687, allocations: 71.25 kB / 0.8841 GB, free: 200.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002378/0.471, allocations: 3.167 MB / 0.8872 GB, free: 198.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.471, allocations: 0 / 0.8872 GB, free: 198.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001837/0.4729, allocations: 0.7032 MB / 0.8878 GB, free: 198.6 MB / 0.698 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0038/0.4767, allocations: 3.293 MB / 0.8911 GB, free: 196.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.4787, allocations: 2.021 MB / 0.893 GB, free: 195.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4787, allocations: 6 kB / 0.893 GB, free: 195.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4797, allocations: 1.373 MB / 0.8944 GB, free: 194.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.4813, allocations: 0.5571 MB / 0.8949 GB, free: 194.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.4997, allocations: 21.34 MB / 0.9158 GB, free: 173.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.5003, allocations: 0.9694 MB / 0.9167 GB, free: 172.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001369/0.5016, allocations: 0.5329 MB / 0.9172 GB, free: 172 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/0.5024, allocations: 0.9181 MB / 0.9181 GB, free: 171.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.083e-06/0.5024, allocations: 0 / 0.9181 GB, free: 171.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/0.5657, allocations: 53.3 MB / 0.9702 GB, free: 118.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.518/10.08, allocations: 17.08 kB / 0.9702 GB, free: 118.5 MB / 0.698 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.080955578945577] Failed to read output from testmodel.py, exit status != 0: 10.25534192379564 10.262338637 10.108000486 Calling exit ...