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.0008532/0.0008532, 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.0009402/0.0009402, 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.9012/0.9012, allocations: 177.2 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.001478/0.001478, allocations: 230.1 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.6685/0.6685, allocations: 138.4 MB / 454.3 MB, free: 30.03 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.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.532e-06/1.532e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.371e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3516/0.3516, allocations: 148.3 MB / 0.7911 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.3662, allocations: 16.18 MB / 0.8069 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.3677, allocations: 43.62 kB / 0.8069 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.369, allocations: 0.562 MB / 0.8075 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.3729, allocations: 1.898 MB / 0.8093 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.3757, allocations: 1.478 MB / 0.8108 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003093/0.3788, allocations: 2.97 MB / 0.8137 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.3805, allocations: 1.582 MB / 0.8152 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.3835, allocations: 2.014 MB / 0.8172 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.3845, allocations: 0.9319 MB / 0.8181 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.3848, allocations: 224 kB / 0.8183 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.3871, allocations: 1.477 MB / 0.8197 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.3875, allocations: 0.849 MB / 0.8206 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006805/0.3882, allocations: 0.8728 MB / 0.8214 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.392, allocations: 3.945 MB / 0.8253 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.392, allocations: 0 / 0.8253 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.583e-06/0.392, allocations: 0 / 0.8253 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.979e-05/0.3921, allocations: 0 / 0.8253 GB, free: 3.773 MB / 0.6511 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.003756/0.3958, allocations: 2.973 MB / 0.8282 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3959, allocations: 13.94 kB / 0.8282 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002015/0.3961, allocations: 248.9 kB / 0.8284 GB, free: 500 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.3983, allocations: 0.6384 MB / 0.8291 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003185/0.4015, allocations: 3.378 MB / 0.8324 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-05/0.4016, allocations: 131.4 kB / 0.8325 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.4017, allocations: 168 kB / 0.8326 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.4044, allocations: 2.713 MB / 0.8353 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/0.4044, allocations: 0 / 0.8353 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.4045, allocations: 80.81 kB / 0.8354 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.4045, allocations: 43.28 kB / 0.8354 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.4069, allocations: 2.066 MB / 0.8374 GB, free: 7 MB / 0.6667 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.006814/0.4137, allocations: 5.134 MB / 0.8424 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.4159, allocations: 1.727 MB / 0.8441 GB, free: 60 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007956/0.4167, allocations: 0.707 MB / 0.8448 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.4169, allocations: 129.2 kB / 0.8449 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.4183, allocations: 1.619 MB / 0.8465 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 3.496e-06/0.4183, allocations: 4 kB / 0.8465 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.004273/0.4225, allocations: 2.64 MB / 0.8491 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.989e-05/0.4226, allocations: 193.2 kB / 0.8493 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/0.4259, allocations: 4.13 MB / 0.8533 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.4261, allocations: 57.7 kB / 0.8534 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006931/0.4268, allocations: 0.9195 MB / 0.8543 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.4271, allocations: 495.7 kB / 0.8547 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/0.4274, allocations: 246.7 kB / 0.855 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.755e-05/0.4275, allocations: 353.9 kB / 0.8553 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.4282, allocations: 0.5804 MB / 0.8559 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.4291, allocations: 1.239 MB / 0.8571 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.4306, allocations: 1.333 MB / 0.8584 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4306, allocations: 7 kB / 0.8584 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002565/0.4332, allocations: 1.808 MB / 0.8602 GB, free: 15.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.4332, allocations: 11.94 kB / 0.8602 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.4332, allocations: 0 / 0.8602 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.4338, allocations: 212.1 kB / 0.8604 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.4346, allocations: 327.6 kB / 0.8607 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.4384, allocations: 6.78 MB / 0.8673 GB, free: 7.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.4395, allocations: 179.8 kB / 0.8675 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.4396, allocations: 47.97 kB / 0.8675 GB, free: 7.035 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.001192/0.4408, allocations: 498.1 kB / 0.868 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.4411, allocations: 206.7 kB / 0.8682 GB, free: 6.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.4439, allocations: 2.164 MB / 0.8703 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4439, allocations: 19.94 kB / 0.8703 GB, free: 4.129 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4439, allocations: 7.984 kB / 0.8703 GB, free: 4.121 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.4439, allocations: 3.984 kB / 0.8703 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/0.4485, allocations: 3.847 MB / 0.8741 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4485, allocations: 0 / 0.8741 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.4492, allocations: 327.5 kB / 0.8744 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004251/0.4496, allocations: 200.1 kB / 0.8746 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.4497, allocations: 39.97 kB / 0.8746 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/0.4532, allocations: 6.812 MB / 0.8813 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4532, allocations: 7.922 kB / 0.8813 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.4561, allocations: 2.041 MB / 0.8833 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.4568, allocations: 462 kB / 0.8837 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.457, allocations: 32 kB / 0.8838 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006841/0.4577, allocations: 121.2 kB / 0.8839 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.4579, allocations: 121.1 kB / 0.884 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-05/0.458, allocations: 71.94 kB / 0.8841 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002236/0.4602, allocations: 3.169 MB / 0.8872 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.4602, allocations: 0 / 0.8872 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001543/0.4617, allocations: 0.6977 MB / 0.8878 GB, free: 1.512 MB / 0.7136 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.004344/0.4661, allocations: 3.297 MB / 0.8911 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.4685, allocations: 2.02 MB / 0.893 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4685, allocations: 4.891 kB / 0.893 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.4698, allocations: 1.372 MB / 0.8944 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.4715, allocations: 0.5452 MB / 0.8949 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/0.4936, allocations: 21.35 MB / 0.9158 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.4944, allocations: 0.9652 MB / 0.9167 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001491/0.4959, allocations: 0.5367 MB / 0.9172 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009553/0.4968, allocations: 0.922 MB / 0.9181 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of SimCode: time 1.924e-06/0.4968, allocations: 0 / 0.9181 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3066/0.8035, allocations: 53.31 MB / 0.9702 GB, free: 239.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.448/10.25, allocations: 1.219 kB / 0.9702 GB, free: 239.1 MB / 0.7605 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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.143734867684543] Failed to read output from testmodel.py, exit status != 0: 10.421900759451091 10.43149663 10.037369932 Calling exit ...