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.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.00114/0.00114, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001144/0.001144, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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.00222/0.00222, allocations: 289.4 kB / 304.7 MB, free: 3.449 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 0.9949/0.9949, allocations: 180.9 MB / 0.5281 GB, free: 1.969 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.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 0.00259/0.00259, allocations: 99.83 kB / 0.7277 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4335, allocations: 94.16 MB / 0.8197 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1712/0.6047, allocations: 166.7 MB / 0.9825 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01278/0.6175, allocations: 7.937 MB / 0.9903 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.6189, allocations: 35.81 kB / 0.9903 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.62, allocations: 409 kB / 0.9907 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003331/0.6234, allocations: 1.357 MB / 0.992 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.6259, allocations: 1.193 MB / 0.9932 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002701/0.6286, allocations: 2.367 MB / 0.9955 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.6301, allocations: 0.9715 MB / 0.9964 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.6313, allocations: 0.829 MB / 0.9972 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.6328, allocations: 0.8163 MB / 0.998 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.633, allocations: 152 kB / 0.9982 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.6349, allocations: 1.166 MB / 0.9993 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004035/0.6353, allocations: 438.5 kB / 0.9997 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007119/0.6361, allocations: 0.7774 MB / 1 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.6388, allocations: 2.425 MB / 1.003 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6388, allocations: 0 / 1.003 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6388, allocations: 0 / 1.003 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.6388, allocations: 0 / 1.003 GB, free: 1.605 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003082/0.6419, allocations: 1.935 MB / 1.005 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6419, allocations: 8.031 kB / 1.005 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.6421, allocations: 172.9 kB / 1.005 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.6439, allocations: 334.7 kB / 1.005 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.6453, allocations: 1.027 MB / 1.006 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.83e-05/0.6454, allocations: 82.14 kB / 1.006 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.6456, allocations: 108 kB / 1.006 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.6474, allocations: 1.172 MB / 1.008 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.6475, allocations: 4 kB / 1.008 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.6476, allocations: 48 kB / 1.008 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.6476, allocations: 42.06 kB / 1.008 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.6497, allocations: 1.304 MB / 1.009 GB, free: 11.18 MB / 0.7481 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.005377/0.6551, allocations: 3.816 MB / 1.013 GB, free: 7.152 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.6568, allocations: 0.942 MB / 1.014 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.6574, allocations: 359.7 kB / 1.014 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.6575, allocations: 41 kB / 1.014 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/0.6585, allocations: 0.6029 MB / 1.015 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=102): time 2.314e-06/0.6585, allocations: 0 / 1.015 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102): time 0.003672/0.6622, allocations: 1.446 MB / 1.016 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.6623, allocations: 192.9 kB / 1.016 GB, free: 3.484 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.6634, allocations: 0.8302 MB / 1.017 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.6635, allocations: 49.7 kB / 1.017 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.6639, allocations: 0.5324 MB / 1.018 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.6642, allocations: 353 kB / 1.018 GB, free: 1.688 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.6645, allocations: 186.5 kB / 1.018 GB, free: 1.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6646, allocations: 345.9 kB / 1.018 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.6652, allocations: 313.8 kB / 1.019 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007604/0.666, allocations: 471.7 kB / 1.019 GB, free: 348 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.6673, allocations: 0.7776 MB / 1.02 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6673, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002152/0.6695, allocations: 1.036 MB / 1.021 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6695, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6695, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/0.6701, allocations: 84.88 kB / 1.021 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008049/0.6709, allocations: 215.7 kB / 1.021 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.673, allocations: 1.631 MB / 1.023 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008959/0.6739, allocations: 99.36 kB / 1.023 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.674, allocations: 39.98 kB / 1.023 GB, free: 12.27 MB / 0.7637 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.0005216/0.6745, allocations: 321.8 kB / 1.023 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.6747, allocations: 119.2 kB / 1.023 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.6772, allocations: 1.24 MB / 1.025 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6772, allocations: 12 kB / 1.025 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6772, allocations: 0 / 1.025 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.6773, allocations: 7.969 kB / 1.025 GB, free: 10.55 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.6787, allocations: 1.173 MB / 1.026 GB, free: 9.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.6787, allocations: 0 / 1.026 GB, free: 9.336 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/0.6796, allocations: 203.7 kB / 1.026 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.68, allocations: 76.78 kB / 1.026 GB, free: 9.059 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.6801, allocations: 31.98 kB / 1.026 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.682, allocations: 1.662 MB / 1.028 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.682, allocations: 0 / 1.028 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002903/0.6849, allocations: 1.582 MB / 1.029 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.6854, allocations: 328 kB / 1.029 GB, free: 5.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.6855, allocations: 31.94 kB / 1.03 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007836/0.6863, allocations: 70.73 kB / 1.03 GB, free: 5.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.6864, allocations: 80.89 kB / 1.03 GB, free: 5.102 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.6865, allocations: 43.97 kB / 1.03 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007471/0.6872, allocations: 0.5859 MB / 1.03 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/0.6872, allocations: 0 / 1.03 GB, free: 4.461 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009767/0.6882, allocations: 435 kB / 1.031 GB, free: 4.035 MB / 0.7637 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.004909/0.6931, allocations: 2.65 MB / 1.033 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.695, allocations: 0.933 MB / 1.034 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.695, allocations: 4 kB / 1.034 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.696, allocations: 0.5664 MB / 1.035 GB, free: 12 kB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.6979, allocations: 486.9 kB / 1.035 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.711, allocations: 8.271 MB / 1.043 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.7118, allocations: 1.154 MB / 1.044 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001049/0.7128, allocations: 325.1 kB / 1.045 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007087/0.7135, allocations: 0.5109 MB / 1.045 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/0.7135, allocations: 0 / 1.045 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/0.7824, allocations: 29.85 MB / 1.074 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.94, allocations: 6.203 kB / 1.074 GB, free: 7.57 MB / 0.8106 GB " [Timeout remaining time 647] (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 --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: 16.584806726998067]