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.001443/0.001443, 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.001563/0.001563, 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.8653/0.8653, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001586/0.001586, allocations: 238.1 kB / 259.4 MB, free: 13 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.6868/0.6868, allocations: 138.4 MB / 454.3 MB, free: 30.05 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.222e-06/1.222e-06, allocations: 0 / 0.6463 GB, free: 1.922 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.433e-05, allocations: 6.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.3802/0.3802, allocations: 148.2 MB / 0.791 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.3958, allocations: 16.16 MB / 0.8068 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.397, allocations: 43.62 kB / 0.8069 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3981, allocations: 0.562 MB / 0.8074 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.4013, allocations: 1.889 MB / 0.8092 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.4037, allocations: 1.489 MB / 0.8107 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002607/0.4063, allocations: 2.933 MB / 0.8136 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.4079, allocations: 1.576 MB / 0.8151 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.4104, allocations: 1.99 MB / 0.8171 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007865/0.4112, allocations: 0.928 MB / 0.818 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.4114, allocations: 224 kB / 0.8182 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.4133, allocations: 1.477 MB / 0.8196 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005586/0.4138, allocations: 0.8412 MB / 0.8204 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005798/0.4144, allocations: 0.869 MB / 0.8213 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.4172, allocations: 3.922 MB / 0.8251 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4172, allocations: 0 / 0.8251 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4172, allocations: 4 kB / 0.8251 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.337e-05/0.4173, allocations: 0 / 0.8251 GB, free: 3.914 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.003033/0.4203, allocations: 2.935 MB / 0.828 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4204, allocations: 9.938 kB / 0.828 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001952/0.4206, allocations: 248.9 kB / 0.8282 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.4226, allocations: 0.6344 MB / 0.8288 GB, free: 28 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.4252, allocations: 3.374 MB / 0.8321 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.4252, allocations: 127.4 kB / 0.8323 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.4254, allocations: 171.9 kB / 0.8324 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.4277, allocations: 2.701 MB / 0.8351 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.4277, allocations: 0 / 0.8351 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.4278, allocations: 78.56 kB / 0.8351 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.4279, allocations: 44 kB / 0.8352 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.4299, allocations: 2.038 MB / 0.8372 GB, free: 7.227 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.005102/0.435, allocations: 4.963 MB / 0.842 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.437, allocations: 1.699 MB / 0.8437 GB, free: 500 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/0.4377, allocations: 0.6992 MB / 0.8444 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.438, allocations: 121.2 kB / 0.8445 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.4393, allocations: 1.609 MB / 0.846 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 2.445e-06/0.4393, allocations: 3.938 kB / 0.8461 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.003956/0.4432, allocations: 2.609 MB / 0.8486 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.4433, allocations: 193.2 kB / 0.8488 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.4462, allocations: 4.081 MB / 0.8528 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.4463, allocations: 61.69 kB / 0.8528 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005103/0.4468, allocations: 0.9114 MB / 0.8537 GB, free: 5.957 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.447, allocations: 491.7 kB / 0.8542 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.4473, allocations: 238.8 kB / 0.8544 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003666/0.4476, allocations: 361.9 kB / 0.8548 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.4483, allocations: 0.5686 MB / 0.8553 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009056/0.4492, allocations: 1.231 MB / 0.8565 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.4506, allocations: 1.311 MB / 0.8578 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.4506, allocations: 0 / 0.8578 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002184/0.4528, allocations: 1.773 MB / 0.8595 GB, free: 15.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.4528, allocations: 11.94 kB / 0.8595 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4528, allocations: 0 / 0.8595 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.4534, allocations: 224.2 kB / 0.8598 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.4542, allocations: 319.5 kB / 0.8601 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.4581, allocations: 6.772 MB / 0.8667 GB, free: 7.883 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.4588, allocations: 171 kB / 0.8668 GB, free: 7.719 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.77e-05/0.4588, allocations: 51.95 kB / 0.8669 GB, free: 7.668 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.0005941/0.4594, allocations: 495 kB / 0.8674 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.4596, allocations: 198.7 kB / 0.8675 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.4623, allocations: 2.144 MB / 0.8696 GB, free: 4.812 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.4623, allocations: 12 kB / 0.8697 GB, free: 4.801 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.4623, allocations: 4 kB / 0.8697 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.4624, allocations: 7.969 kB / 0.8697 GB, free: 4.789 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004022/0.4664, allocations: 3.819 MB / 0.8734 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4664, allocations: 3.938 kB / 0.8734 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006746/0.4671, allocations: 319.6 kB / 0.8737 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000406/0.4675, allocations: 208.1 kB / 0.8739 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/0.4675, allocations: 39.97 kB / 0.8739 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003382/0.4709, allocations: 6.802 MB / 0.8806 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4709, allocations: 8.062 kB / 0.8806 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.4733, allocations: 2.014 MB / 0.8826 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005787/0.4739, allocations: 461.9 kB / 0.883 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.474, allocations: 31.98 kB / 0.883 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005982/0.4746, allocations: 105.2 kB / 0.8831 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4748, allocations: 125.1 kB / 0.8832 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.4749, allocations: 63.95 kB / 0.8833 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002025/0.4769, allocations: 3.144 MB / 0.8864 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.4769, allocations: 0 / 0.8864 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001209/0.4781, allocations: 0.6976 MB / 0.8871 GB, free: 2.281 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.003774/0.4819, allocations: 3.26 MB / 0.8902 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.4839, allocations: 1.996 MB / 0.8922 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4839, allocations: 4.656 kB / 0.8922 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.485, allocations: 1.367 MB / 0.8935 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4863, allocations: 0.5606 MB / 0.8941 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.5052, allocations: 20.99 MB / 0.9146 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006848/0.5059, allocations: 0.9535 MB / 0.9155 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001017/0.5069, allocations: 0.5289 MB / 0.916 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/0.5077, allocations: 0.922 MB / 0.9169 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.5077, allocations: 0 / 0.9169 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3101/0.8178, allocations: 52.61 MB / 0.9683 GB, free: 239.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.543/10.36, allocations: 1.672 kB / 0.9683 GB, free: 239.3 MB / 0.7605 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 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: 13.125879211351275] Failed to read output from testmodel.py, exit status != 0: 10.532415682449937 10.541133383 10.121890509 Calling exit ...