Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001069/0.001069, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001431/0.001431, allocations: 169.9 kB / 23.21 MB, free: 1.359 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.9234/0.9234, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.562/0.562, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.067e-05, allocations: 4.953 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4359/0.4359, allocations: 148.3 MB / 0.699 GB, free: 41.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.4509, allocations: 16.14 MB / 0.7147 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.453, allocations: 41.91 kB / 0.7148 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.4547, allocations: 0.5694 MB / 0.7153 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004652/0.4594, allocations: 1.881 MB / 0.7172 GB, free: 41.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.4622, allocations: 1.489 MB / 0.7186 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.4655, allocations: 2.977 MB / 0.7215 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.4674, allocations: 1.519 MB / 0.723 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003442/0.4709, allocations: 2.013 MB / 0.725 GB, free: 40.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001375/0.4723, allocations: 0.9373 MB / 0.7259 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.4725, allocations: 232.8 kB / 0.7261 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/0.476, allocations: 1.474 MB / 0.7276 GB, free: 40.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007895/0.4768, allocations: 0.8608 MB / 0.7284 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.4781, allocations: 0.8879 MB / 0.7293 GB, free: 40.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007577/0.4857, allocations: 3.974 MB / 0.7331 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/0.4857, allocations: 1.156 kB / 0.7331 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4857, allocations: 1 kB / 0.7331 GB, free: 39.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001474/0.4859, allocations: 0.9375 kB / 0.7331 GB, free: 39.61 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.00633/0.4922, allocations: 2.987 MB / 0.7361 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.4922, allocations: 9.906 kB / 0.7361 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003444/0.4926, allocations: 251.2 kB / 0.7363 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.4955, allocations: 0.6412 MB / 0.7369 GB, free: 38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004791/0.5003, allocations: 3.379 MB / 0.7402 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.5004, allocations: 135.2 kB / 0.7404 GB, free: 36.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.5006, allocations: 175.4 kB / 0.7405 GB, free: 36.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00317/0.5038, allocations: 2.742 MB / 0.7432 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.5038, allocations: 0 / 0.7432 GB, free: 35.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.5039, allocations: 79.52 kB / 0.7433 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.504, allocations: 42.03 kB / 0.7433 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.507, allocations: 2.068 MB / 0.7453 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008541/0.5155, allocations: 5.179 MB / 0.7504 GB, free: 32.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.518, allocations: 1.778 MB / 0.7521 GB, free: 31.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009195/0.519, allocations: 0.732 MB / 0.7529 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.5193, allocations: 120 kB / 0.753 GB, free: 31.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.5207, allocations: 1.648 MB / 0.7546 GB, free: 30.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=154): time 3.667e-06/0.5207, allocations: 0 / 0.7546 GB, free: 30.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=154): time 0.0046/0.5253, allocations: 2.683 MB / 0.7572 GB, free: 29.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.5253, allocations: 201.1 kB / 0.7574 GB, free: 29.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.5288, allocations: 4.124 MB / 0.7614 GB, free: 28.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003016/0.5291, allocations: 67.55 kB / 0.7615 GB, free: 28.01 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.5296, allocations: 0.9027 MB / 0.7624 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.5299, allocations: 0.5137 MB / 0.7629 GB, free: 26.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.5302, allocations: 260.4 kB / 0.7631 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.5302, allocations: 359.9 kB / 0.7635 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.531, allocations: 0.6116 MB / 0.7641 GB, free: 26.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009262/0.5319, allocations: 1.275 MB / 0.7653 GB, free: 25.33 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.5334, allocations: 1.375 MB / 0.7666 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5334, allocations: 0 / 0.7666 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002917/0.5363, allocations: 1.881 MB / 0.7685 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.5363, allocations: 5.469 kB / 0.7685 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5364, allocations: 4.688 kB / 0.7685 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.5369, allocations: 210 kB / 0.7687 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008221/0.5378, allocations: 336.5 kB / 0.769 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/0.5406, allocations: 6.792 MB / 0.7756 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5421, allocations: 180.4 kB / 0.7758 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.5422, allocations: 49.06 kB / 0.7759 GB, free: 17.38 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: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (158): * Single equations (assignments): 153 * 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.001041/0.5432, allocations: 0.498 MB / 0.7764 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.5436, allocations: 209.2 kB / 0.7766 GB, free: 17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.5462, allocations: 2.198 MB / 0.7787 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.5462, allocations: 17.03 kB / 0.7787 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5462, allocations: 4.594 kB / 0.7787 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5462, allocations: 8.578 kB / 0.7787 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.5514, allocations: 4.063 MB / 0.7827 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5514, allocations: 2.531 kB / 0.7827 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.5521, allocations: 328 kB / 0.783 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.5526, allocations: 198 kB / 0.7832 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.5526, allocations: 41.53 kB / 0.7832 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/0.5557, allocations: 6.818 MB / 0.7899 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5558, allocations: 0 / 0.7899 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003031/0.5588, allocations: 2.089 MB / 0.7919 GB, free: 23.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/0.5603, allocations: 465.6 kB / 0.7924 GB, free: 22.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.5607, allocations: 43.05 kB / 0.7924 GB, free: 22.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/0.5616, allocations: 111.5 kB / 0.7925 GB, free: 22.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.5618, allocations: 131.2 kB / 0.7927 GB, free: 22.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.5619, allocations: 68.45 kB / 0.7927 GB, free: 22.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0028/0.5647, allocations: 3.159 MB / 0.7958 GB, free: 21.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.5647, allocations: 0 / 0.7958 GB, free: 21.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002765/0.5675, allocations: 0.7076 MB / 0.7965 GB, free: 21.49 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004273/0.5718, allocations: 3.342 MB / 0.7998 GB, free: 19.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002362/0.5741, allocations: 2.078 MB / 0.8018 GB, free: 18.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5742, allocations: 3.203 kB / 0.8018 GB, free: 18.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.5754, allocations: 1.382 MB / 0.8031 GB, free: 18.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.5774, allocations: 0.5335 MB / 0.8037 GB, free: 18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/0.6053, allocations: 21.54 MB / 0.8247 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/0.6062, allocations: 0.9698 MB / 0.8256 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001769/0.608, allocations: 0.5318 MB / 0.8262 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.6091, allocations: 0.9181 MB / 0.8271 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of SimCode: time 1.603e-06/0.6091, allocations: 0 / 0.8271 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08009/0.6892, allocations: 53.4 MB / 0.8792 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.83, allocations: 5.719 kB / 0.8792 GB, free: 9.801 MB / 0.7136 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.620836338028312] Failed to read output from testmodel.py, exit status != 0: 10.999571058899164 11.012994279 10.525174642 Calling exit ...