Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.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.001075/0.001075, 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.0009028/0.0009028, 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.88/0.88, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001415/0.001415, allocations: 238.2 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.6995/0.6995, allocations: 138.4 MB / 454.3 MB, free: 30.04 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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.826e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData): time 0.3918/0.3918, allocations: 148.2 MB / 0.791 GB, free: 6.844 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.4064, allocations: 16.17 MB / 0.8068 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001228/0.4076, allocations: 39.62 kB / 0.8069 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.4088, allocations: 0.5581 MB / 0.8074 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.4122, allocations: 1.891 MB / 0.8092 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.415, allocations: 1.477 MB / 0.8107 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002504/0.4175, allocations: 2.945 MB / 0.8136 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.4189, allocations: 1.577 MB / 0.8151 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.4215, allocations: 1.994 MB / 0.8171 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007696/0.4223, allocations: 0.928 MB / 0.818 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003522/0.4227, allocations: 224 kB / 0.8182 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.4248, allocations: 1.473 MB / 0.8196 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.4252, allocations: 0.8412 MB / 0.8204 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005776/0.4258, allocations: 0.8728 MB / 0.8213 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.4287, allocations: 3.918 MB / 0.8251 GB, free: 3.898 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4287, allocations: 3.984 kB / 0.8251 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4287, allocations: 0 / 0.8251 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.4287, allocations: 0 / 0.8251 GB, free: 3.895 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00285/0.4315, allocations: 2.931 MB / 0.828 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4316, allocations: 9.938 kB / 0.828 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.4318, allocations: 248.8 kB / 0.8282 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/0.4339, allocations: 0.6345 MB / 0.8288 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.4366, allocations: 3.374 MB / 0.8321 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.4367, allocations: 127.4 kB / 0.8323 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4368, allocations: 175.9 kB / 0.8324 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.439, allocations: 2.694 MB / 0.8351 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.4391, allocations: 0 / 0.8351 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.4392, allocations: 79.92 kB / 0.8351 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.4392, allocations: 48 kB / 0.8352 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.4413, allocations: 2.037 MB / 0.8372 GB, free: 7.211 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.005033/0.4463, allocations: 4.963 MB / 0.842 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.4482, allocations: 1.708 MB / 0.8437 GB, free: 476 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/0.449, allocations: 0.6992 MB / 0.8444 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.4492, allocations: 117.2 kB / 0.8445 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.4506, allocations: 1.608 MB / 0.846 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 2.364e-06/0.4506, allocations: 0 / 0.846 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.003645/0.4543, allocations: 2.609 MB / 0.8486 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.4544, allocations: 197.2 kB / 0.8488 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.4573, allocations: 4.081 MB / 0.8528 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.4575, allocations: 61.7 kB / 0.8528 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005758/0.458, allocations: 0.9114 MB / 0.8537 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.4584, allocations: 491.7 kB / 0.8542 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.4586, allocations: 242.8 kB / 0.8544 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4587, allocations: 353.9 kB / 0.8548 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006642/0.4594, allocations: 0.5686 MB / 0.8553 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/0.4603, allocations: 1.231 MB / 0.8565 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.4617, allocations: 1.311 MB / 0.8578 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4617, allocations: 0 / 0.8578 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002183/0.4639, allocations: 1.78 MB / 0.8595 GB, free: 15.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4639, allocations: 15.92 kB / 0.8595 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4639, allocations: 0 / 0.8595 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006546/0.4646, allocations: 208.2 kB / 0.8597 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.4653, allocations: 327.5 kB / 0.8601 GB, free: 15.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/0.4691, allocations: 6.766 MB / 0.8667 GB, free: 7.871 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008149/0.4699, allocations: 180.4 kB / 0.8668 GB, free: 7.695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.47, allocations: 51.97 kB / 0.8669 GB, free: 7.645 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 (144): * Single equations (assignments): 139 * 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.0006519/0.4706, allocations: 482.9 kB / 0.8673 GB, free: 7.164 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.4708, allocations: 206.7 kB / 0.8675 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.4733, allocations: 2.14 MB / 0.8696 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.4734, allocations: 12 kB / 0.8696 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4734, allocations: 4 kB / 0.8697 GB, free: 4.781 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.4734, allocations: 7.969 kB / 0.8697 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.4774, allocations: 3.819 MB / 0.8734 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4774, allocations: 3.938 kB / 0.8734 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009708/0.4784, allocations: 319.6 kB / 0.8737 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.4788, allocations: 204.1 kB / 0.8739 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.4788, allocations: 43.97 kB / 0.8739 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/0.4823, allocations: 6.806 MB / 0.8806 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4823, allocations: 4.031 kB / 0.8806 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.4846, allocations: 2.018 MB / 0.8826 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.4852, allocations: 458 kB / 0.883 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4853, allocations: 32 kB / 0.883 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006264/0.4859, allocations: 113.5 kB / 0.8831 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4861, allocations: 113.1 kB / 0.8832 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/0.4862, allocations: 71.94 kB / 0.8833 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002233/0.4884, allocations: 3.144 MB / 0.8864 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.4884, allocations: 0 / 0.8864 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001363/0.4898, allocations: 0.6937 MB / 0.8871 GB, free: 2.266 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.003836/0.4936, allocations: 3.264 MB / 0.8902 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.4957, allocations: 1.996 MB / 0.8922 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4957, allocations: 4.656 kB / 0.8922 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4968, allocations: 1.364 MB / 0.8935 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.4981, allocations: 0.5601 MB / 0.8941 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.517, allocations: 21 MB / 0.9146 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.5177, allocations: 0.9574 MB / 0.9155 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001258/0.519, allocations: 0.5328 MB / 0.916 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008169/0.5198, allocations: 0.9181 MB / 0.9169 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.5198, allocations: 0 / 0.9169 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2887/0.8085, allocations: 52.6 MB / 0.9683 GB, free: 239.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/9.964, allocations: 8.25 kB / 0.9683 GB, free: 239.5 MB / 0.7605 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.817932868376374] Failed to read output from testmodel.py, exit status != 0: 10.135334360413253 10.145454288 9.714976552 Calling exit ...