Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 114 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 201.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 250.2 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00351/0.00351, allocations: 283.9 kB / 305.6 MB, free: 8.465 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.25/1.25, allocations: 180.9 MB / 0.5291 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 103.8 kB / 0.7293 GB, free: 39.13 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2053, allocations: 94.16 MB / 0.8213 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.00758/0.2128, allocations: 5.271 MB / 0.8264 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1867/0.3995, allocations: 151.3 MB / 0.9741 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.4009, allocations: 23.88 kB / 0.9742 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008783/0.4017, allocations: 198.1 kB / 0.9743 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.4041, allocations: 0.5664 MB / 0.9749 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.4065, allocations: 0.8678 MB / 0.9757 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002352/0.4089, allocations: 1.451 MB / 0.9772 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009165/0.4098, allocations: 438.1 kB / 0.9776 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.4108, allocations: 0.4984 MB / 0.9781 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007967/0.4116, allocations: 0.5251 MB / 0.9786 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.4118, allocations: 120 kB / 0.9787 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.413, allocations: 495.5 kB / 0.9792 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003248/0.4133, allocations: 307 kB / 0.9795 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006932/0.414, allocations: 0.5908 MB / 0.98 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.417, allocations: 1.693 MB / 0.9817 GB, free: 14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.417, allocations: 4 kB / 0.9817 GB, free: 14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.015e-06/0.417, allocations: 0 / 0.9817 GB, free: 14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.329e-05/0.4171, allocations: 0 / 0.9817 GB, free: 14 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.003613/0.4207, allocations: 1.534 MB / 0.9832 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4208, allocations: 12.03 kB / 0.9832 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.4209, allocations: 139.7 kB / 0.9833 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009998/0.4219, allocations: 196 kB / 0.9835 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.4234, allocations: 0.794 MB / 0.9843 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.4235, allocations: 66 kB / 0.9844 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4237, allocations: 84 kB / 0.9844 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.4254, allocations: 0.9535 MB / 0.9854 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.4254, allocations: 3.938 kB / 0.9854 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.4255, allocations: 36 kB / 0.9854 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.4256, allocations: 24 kB / 0.9854 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.4274, allocations: 1.139 MB / 0.9865 GB, free: 8.875 MB / 0.7325 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.004625/0.4321, allocations: 2.791 MB / 0.9893 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.4337, allocations: 0.7967 MB / 0.9901 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.4342, allocations: 290.6 kB / 0.9903 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.4343, allocations: 38.73 kB / 0.9904 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009303/0.4352, allocations: 0.508 MB / 0.9909 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 2.124e-06/0.4352, allocations: 0 / 0.9909 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.003373/0.4386, allocations: 1.251 MB / 0.9921 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.4388, allocations: 192.9 kB / 0.9923 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.4398, allocations: 0.645 MB / 0.9929 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.4399, allocations: 49.7 kB / 0.9929 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.4403, allocations: 425 kB / 0.9933 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.4405, allocations: 285.5 kB / 0.9936 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.4408, allocations: 154.6 kB / 0.9938 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.441, allocations: 394.7 kB / 0.9941 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.4416, allocations: 249.9 kB / 0.9944 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.4422, allocations: 378.5 kB / 0.9947 GB, free: 196 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.4434, allocations: 0.6087 MB / 0.9953 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4434, allocations: 3.938 kB / 0.9953 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002028/0.4454, allocations: 0.8335 MB / 0.9962 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4455, allocations: 8 kB / 0.9962 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4455, allocations: 3.984 kB / 0.9962 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.4461, allocations: 84.86 kB / 0.9962 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007065/0.4468, allocations: 171.7 kB / 0.9964 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.4492, allocations: 1.623 MB / 0.998 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/0.45, allocations: 94.45 kB / 0.9981 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.45, allocations: 31.97 kB / 0.9981 GB, free: 12.57 MB / 0.7481 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005349/0.4506, allocations: 273.9 kB / 0.9984 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.4508, allocations: 87.44 kB / 0.9985 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.4532, allocations: 1.101 MB / 0.9995 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4532, allocations: 8 kB / 0.9995 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4532, allocations: 0 / 0.9995 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4532, allocations: 7.984 kB / 0.9996 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.4544, allocations: 0.9348 MB / 1 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4545, allocations: 3.938 kB / 1 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006645/0.4551, allocations: 159.7 kB / 1.001 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/0.4556, allocations: 68.78 kB / 1.001 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.4556, allocations: 27.98 kB / 1.001 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.4577, allocations: 1.662 MB / 1.002 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4577, allocations: 4.031 kB / 1.002 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.4605, allocations: 1.371 MB / 1.004 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.4609, allocations: 288.1 kB / 1.004 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.4611, allocations: 20 kB / 1.004 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.4617, allocations: 66.11 kB / 1.004 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4619, allocations: 68.91 kB / 1.004 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/0.4619, allocations: 35.97 kB / 1.004 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006296/0.4626, allocations: 475.1 kB / 1.005 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.4626, allocations: 0 / 1.005 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008913/0.4635, allocations: 339.1 kB / 1.005 GB, free: 5.355 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004992/0.4684, allocations: 2.427 MB / 1.007 GB, free: 3.09 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001824/0.4703, allocations: 0.7961 MB / 1.008 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4703, allocations: 0 / 1.008 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009868/0.4713, allocations: 0.5004 MB / 1.009 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.4726, allocations: 316.5 kB / 1.009 GB, free: 1.488 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4636/0.9362, allocations: 6.531 MB / 1.015 GB, free: 186.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00078/0.937, allocations: 1.04 MB / 1.016 GB, free: 186.2 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001059/0.938, allocations: 260 kB / 1.016 GB, free: 186.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.9386, allocations: 407.3 kB / 1.017 GB, free: 186 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/0.9386, allocations: 1.422 kB / 1.017 GB, free: 186 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06569/1.004, allocations: 22.49 MB / 1.039 GB, free: 172.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.32, allocations: 8.047 kB / 1.039 GB, free: 172.6 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.867430594284087] Failed to read output from testmodel.py, exit status != 0: 14.521906617097557 14.533094312 14.112708354 Calling exit ...