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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007615/0.007615, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 198.8 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003924/0.003924, allocations: 282.5 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.265/1.265, allocations: 178.5 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 111.8 kB / 0.6943 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5156/0.5183, allocations: 89.11 MB / 0.7813 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2176/0.736, allocations: 166 MB / 0.9435 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01381/0.7498, allocations: 7.818 MB / 0.9511 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.752, allocations: 31.88 kB / 0.9512 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.7535, allocations: 400.9 kB / 0.9515 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.7581, allocations: 1.317 MB / 0.9528 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003579/0.7617, allocations: 1.171 MB / 0.954 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00488/0.7666, allocations: 2.356 MB / 0.9563 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.7705, allocations: 1.186 MB / 0.9574 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.7721, allocations: 0.8212 MB / 0.9582 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.7741, allocations: 0.7857 MB / 0.959 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003715/0.7744, allocations: 152 kB / 0.9591 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.7771, allocations: 1.119 MB / 0.9602 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.7776, allocations: 430.6 kB / 0.9606 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009199/0.7785, allocations: 0.7813 MB / 0.9614 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.7826, allocations: 2.425 MB / 0.9638 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7826, allocations: 4 kB / 0.9638 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7826, allocations: 0 / 0.9638 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.021e-05/0.7827, allocations: 0 / 0.9638 GB, free: 13.22 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.003426/0.7861, allocations: 1.935 MB / 0.9657 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7861, allocations: 8.031 kB / 0.9657 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.7864, allocations: 176.9 kB / 0.9658 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001911/0.7883, allocations: 330.7 kB / 0.9662 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.79, allocations: 1.031 MB / 0.9672 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.7901, allocations: 82.2 kB / 0.9672 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.7903, allocations: 111.9 kB / 0.9674 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.7924, allocations: 1.172 MB / 0.9685 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/0.7924, allocations: 0 / 0.9685 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.7925, allocations: 48 kB / 0.9685 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/0.7926, allocations: 42.06 kB / 0.9686 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.7948, allocations: 1.304 MB / 0.9699 GB, free: 6.797 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.005915/0.8008, allocations: 3.839 MB / 0.9736 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.8027, allocations: 0.9889 MB / 0.9746 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.8034, allocations: 399.6 kB / 0.975 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.714e-05/0.8035, allocations: 37 kB / 0.975 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.8046, allocations: 0.5836 MB / 0.9756 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=102): time 3.126e-06/0.8046, allocations: 0 / 0.9756 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.004027/0.8086, allocations: 1.45 MB / 0.977 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.8088, allocations: 192.9 kB / 0.9772 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.8103, allocations: 0.8302 MB / 0.978 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/0.8104, allocations: 45.7 kB / 0.978 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.811, allocations: 0.5362 MB / 0.9785 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.8113, allocations: 365 kB / 0.9789 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.8116, allocations: 178.6 kB / 0.9791 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.8118, allocations: 345.9 kB / 0.9794 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.8124, allocations: 313.8 kB / 0.9797 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008142/0.8133, allocations: 475.5 kB / 0.9801 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.8147, allocations: 0.7776 MB / 0.9809 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8147, allocations: 0 / 0.9809 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002441/0.8172, allocations: 1.032 MB / 0.9819 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.8172, allocations: 10.8 kB / 0.9819 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8172, allocations: 7.938 kB / 0.9819 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.8179, allocations: 81 kB / 0.982 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.8188, allocations: 203.7 kB / 0.9822 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.8212, allocations: 1.626 MB / 0.9838 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.8223, allocations: 111.4 kB / 0.9839 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.8224, allocations: 39.98 kB / 0.9839 GB, free: 7.801 MB / 0.7481 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.0006939/0.8231, allocations: 317.7 kB / 0.9842 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.8234, allocations: 123.2 kB / 0.9843 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.8262, allocations: 1.248 MB / 0.9856 GB, free: 6.098 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.8262, allocations: 8 kB / 0.9856 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8262, allocations: 0 / 0.9856 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.8262, allocations: 11.97 kB / 0.9856 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.8279, allocations: 1.169 MB / 0.9867 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8279, allocations: 4 kB / 0.9867 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.8288, allocations: 211.7 kB / 0.9869 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004817/0.8293, allocations: 72.78 kB / 0.987 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.8294, allocations: 27.98 kB / 0.987 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002102/0.8315, allocations: 1.666 MB / 0.9887 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8315, allocations: 4.031 kB / 0.9887 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/0.8349, allocations: 1.578 MB / 0.9902 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006741/0.8355, allocations: 324 kB / 0.9905 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.8357, allocations: 27.98 kB / 0.9905 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.8365, allocations: 68 kB / 0.9906 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.8368, allocations: 88.88 kB / 0.9907 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.522e-05/0.8369, allocations: 43.97 kB / 0.9907 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.3879/1.225, allocations: 0.5765 MB / 0.9913 GB, free: 200.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.31e-07/1.225, allocations: 0 / 0.9913 GB, free: 200.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001696/1.227, allocations: 429 kB / 0.9917 GB, free: 200.6 MB / 0.7481 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.005704/1.232, allocations: 2.65 MB / 0.9943 GB, free: 199.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.235, allocations: 0.9612 MB / 0.9952 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.235, allocations: 1.031 kB / 0.9952 GB, free: 199.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.236, allocations: 0.6074 MB / 0.9958 GB, free: 199.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.238, allocations: 494 kB / 0.9963 GB, free: 199 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.254, allocations: 8.257 MB / 1.004 GB, free: 195.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/1.254, allocations: 1.151 MB / 1.005 GB, free: 194.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001285/1.256, allocations: 328.9 kB / 1.006 GB, free: 194.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006422/1.256, allocations: 0.5104 MB / 1.006 GB, free: 193.9 MB / 0.7481 GB Notification: Performance of SimCode: time 8.62e-07/1.256, allocations: 1.125 kB / 1.006 GB, free: 193.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07208/1.328, allocations: 29.63 MB / 1.035 GB, free: 174.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.68, allocations: 5.969 kB / 1.035 GB, free: 174 MB / 0.7481 GB (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)