Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.0008722/0.0008722, 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.001021/0.001021, 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.8613/0.8613, allocations: 177.2 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.001453/0.001453, allocations: 233.7 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.6529/0.6529, 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.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.871e-05, allocations: 6.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.3576/0.3577, allocations: 146.2 MB / 0.7891 GB, free: 8.812 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009307/0.367, allocations: 7.525 MB / 0.7964 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.3684, allocations: 39.69 kB / 0.7965 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.3695, allocations: 412.7 kB / 0.7969 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.3728, allocations: 1.405 MB / 0.7982 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3752, allocations: 1.216 MB / 0.7994 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002511/0.3777, allocations: 2.462 MB / 0.8018 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.3789, allocations: 0.9603 MB / 0.8028 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.3803, allocations: 1.2 MB / 0.8039 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001275/0.3816, allocations: 0.6559 MB / 0.8046 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.3817, allocations: 152.7 kB / 0.8047 GB, free: 8.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/0.3833, allocations: 1.033 MB / 0.8057 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.3836, allocations: 450.5 kB / 0.8062 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.3841, allocations: 0.5299 MB / 0.8067 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.3873, allocations: 2.547 MB / 0.8092 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3873, allocations: 4 kB / 0.8092 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3873, allocations: 0 / 0.8092 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.3874, allocations: 0.6562 kB / 0.8092 GB, free: 4.184 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002464/0.3898, allocations: 1.874 MB / 0.811 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3899, allocations: 13.94 kB / 0.811 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.39, allocations: 169 kB / 0.8112 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.3914, allocations: 378.6 kB / 0.8115 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.3926, allocations: 0.959 MB / 0.8125 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.3927, allocations: 82.2 kB / 0.8126 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3928, allocations: 111.8 kB / 0.8127 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.3943, allocations: 1.524 MB / 0.8142 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3943, allocations: 0 / 0.8142 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.3944, allocations: 48 kB / 0.8142 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/0.3944, allocations: 39.5 kB / 0.8142 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.3958, allocations: 1.265 MB / 0.8155 GB, free: 13.49 MB / 0.6511 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.003958/0.3997, allocations: 2.911 MB / 0.8183 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.4009, allocations: 0.945 MB / 0.8192 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.4013, allocations: 372.5 kB / 0.8196 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.027e-05/0.4014, allocations: 20.98 kB / 0.8196 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007826/0.4022, allocations: 0.7873 MB / 0.8204 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=102): time 2.846e-06/0.4022, allocations: 0 / 0.8204 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.002316/0.4045, allocations: 1.371 MB / 0.8217 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.4046, allocations: 196.9 kB / 0.8219 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.4055, allocations: 0.8664 MB / 0.8228 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.178e-05/0.4056, allocations: 45.7 kB / 0.8228 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.4059, allocations: 0.5402 MB / 0.8233 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.4062, allocations: 353.1 kB / 0.8237 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.4064, allocations: 182.5 kB / 0.8238 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.4064, allocations: 341.9 kB / 0.8242 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.4068, allocations: 313.8 kB / 0.8245 GB, free: 4.039 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.4075, allocations: 0.5883 MB / 0.825 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.4083, allocations: 0.7776 MB / 0.8258 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4083, allocations: 4 kB / 0.8258 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001366/0.4097, allocations: 1.032 MB / 0.8268 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4097, allocations: 8 kB / 0.8268 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4097, allocations: 4.625 kB / 0.8268 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.41, allocations: 84.98 kB / 0.8269 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.4105, allocations: 203.7 kB / 0.8271 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.412, allocations: 1.532 MB / 0.8286 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.4127, allocations: 104.5 kB / 0.8287 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.4128, allocations: 42.61 kB / 0.8287 GB, free: 15.43 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (116): * Single equations (assignments): 115 * 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.0005185/0.4133, allocations: 326.1 kB / 0.829 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4134, allocations: 119.2 kB / 0.8292 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.415, allocations: 1.249 MB / 0.8304 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.415, allocations: 12 kB / 0.8304 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.415, allocations: 0 / 0.8304 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.415, allocations: 3.984 kB / 0.8304 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.416, allocations: 0.97 MB / 0.8313 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.416, allocations: 0 / 0.8313 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.4165, allocations: 219 kB / 0.8315 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/0.4167, allocations: 76.7 kB / 0.8316 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/0.4168, allocations: 27.98 kB / 0.8316 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/0.418, allocations: 1.546 MB / 0.8332 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.418, allocations: 0 / 0.8332 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.4199, allocations: 1.586 MB / 0.8347 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.4203, allocations: 246.9 kB / 0.8349 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.4204, allocations: 31.94 kB / 0.835 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.4208, allocations: 65.98 kB / 0.835 GB, free: 8.781 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.421, allocations: 88.78 kB / 0.8351 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/0.421, allocations: 46.97 kB / 0.8352 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005633/0.4216, allocations: 0.6061 MB / 0.8358 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.4216, allocations: 4 kB / 0.8358 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007952/0.4224, allocations: 431 kB / 0.8362 GB, free: 7.609 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.003147/0.4255, allocations: 2.694 MB / 0.8388 GB, free: 5.145 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.427, allocations: 0.9287 MB / 0.8397 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.427, allocations: 4.5 kB / 0.8397 GB, free: 4.199 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006229/0.4277, allocations: 0.5743 MB / 0.8403 GB, free: 3.609 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.429, allocations: 0.4895 MB / 0.8408 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.4383, allocations: 8.232 MB / 0.8488 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.4387, allocations: 0.5715 MB / 0.8494 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007961/0.4395, allocations: 329.3 kB / 0.8497 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.44, allocations: 0.5198 MB / 0.8502 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/0.44, allocations: 0 / 0.8502 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.4885, allocations: 32.38 MB / 0.8818 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/8.962, allocations: 7.984 kB / 0.8818 GB, free: 9.395 MB / 0.7136 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.583332386799157] Failed to read output from testmodel.py, exit status != 0: 9.116865427233279 9.128686924 8.738003239 Calling exit ...