Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2",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.001278/0.001278, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.576/2.576, allocations: 461.9 MB / 0.7346 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 62.69 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.23, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006078/0.2361, allocations: 5.243 MB / 1.058 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1418/0.3779, allocations: 150.7 MB / 1.205 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007647/0.3787, allocations: 15.94 kB / 1.205 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.3794, allocations: 206 kB / 1.205 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.3814, allocations: 0.574 MB / 1.206 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.3833, allocations: 0.8362 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.3848, allocations: 1.44 MB / 1.208 GB, free: 8.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009023/0.3857, allocations: 0.6074 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.3863, allocations: 0.4905 MB / 1.209 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006766/0.387, allocations: 0.5329 MB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.3873, allocations: 120 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008246/0.3881, allocations: 463.7 kB / 1.21 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.3884, allocations: 310.9 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.389, allocations: 0.5869 MB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.3908, allocations: 1.651 MB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3908, allocations: 0 / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3908, allocations: 0 / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.3908, allocations: 0 / 1.213 GB, free: 3.945 MB / 0.9669 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.002758/0.3936, allocations: 1.485 MB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3936, allocations: 8.625 kB / 1.214 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.3938, allocations: 143.7 kB / 1.214 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.3948, allocations: 191.3 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3958, allocations: 0.77 MB / 1.215 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.3959, allocations: 66 kB / 1.215 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.396, allocations: 87.98 kB / 1.215 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.3976, allocations: 0.9535 MB / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.3976, allocations: 0 / 1.216 GB, free: 112 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.177e-05/0.3977, allocations: 39.94 kB / 1.216 GB, free: 72 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.3977, allocations: 24 kB / 1.216 GB, free: 48 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.3995, allocations: 1.136 MB / 1.218 GB, free: 14.91 MB / 0.9825 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.003943/0.4035, allocations: 2.821 MB / 1.22 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.405, allocations: 0.8474 MB / 1.221 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.4056, allocations: 322.7 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.024e-05/0.4057, allocations: 30.75 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008217/0.4065, allocations: 0.5042 MB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 2.695e-06/0.4065, allocations: 0 / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.00319/0.4097, allocations: 1.243 MB / 1.223 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.858e-05/0.4098, allocations: 196.9 kB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007449/0.4105, allocations: 0.6489 MB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.4106, allocations: 45.64 kB / 1.224 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.4109, allocations: 416.3 kB / 1.224 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.4111, allocations: 276.1 kB / 1.225 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.4113, allocations: 154.5 kB / 1.225 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4115, allocations: 390.7 kB / 1.225 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.412, allocations: 257.9 kB / 1.225 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006032/0.4126, allocations: 370.5 kB / 1.226 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.4137, allocations: 0.6086 MB / 1.226 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4137, allocations: 0 / 1.226 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001857/0.4156, allocations: 0.8331 MB / 1.227 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4156, allocations: 9.953 kB / 1.227 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.4156, allocations: 4 kB / 1.227 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.4162, allocations: 88.66 kB / 1.227 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.4169, allocations: 163.8 kB / 1.227 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.4189, allocations: 1.633 MB / 1.229 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/0.4195, allocations: 87.36 kB / 1.229 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.4196, allocations: 35.97 kB / 1.229 GB, free: 2.531 MB / 0.9825 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.0003449/0.4199, allocations: 273.6 kB / 1.229 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4201, allocations: 82.97 kB / 1.23 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.4224, allocations: 1.105 MB / 1.231 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4225, allocations: 12 kB / 1.231 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4225, allocations: 0 / 1.231 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.4225, allocations: 3.984 kB / 1.231 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009668/0.4235, allocations: 0.9269 MB / 1.232 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.4235, allocations: 3.938 kB / 1.232 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.4241, allocations: 159.8 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.4246, allocations: 72.78 kB / 1.232 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.4246, allocations: 23.98 kB / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.4264, allocations: 1.654 MB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4264, allocations: 0 / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.429, allocations: 1.371 MB / 1.235 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.4293, allocations: 279.7 kB / 1.235 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.4295, allocations: 20 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006407/0.4301, allocations: 67.98 kB / 1.235 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.4303, allocations: 68.91 kB / 1.235 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.4303, allocations: 47.97 kB / 1.235 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005221/0.4309, allocations: 475 kB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4309, allocations: 0 / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007532/0.4316, allocations: 339 kB / 1.236 GB, free: 11.32 MB / 0.9981 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.004026/0.4357, allocations: 2.423 MB / 1.238 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.4379, allocations: 1.023 MB / 1.239 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.438, allocations: 0 / 1.239 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000923/0.4389, allocations: 0.5356 MB / 1.24 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.44, allocations: 311.3 kB / 1.24 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4501, allocations: 6.759 MB / 1.247 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3809/0.831, allocations: 1.033 MB / 1.248 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001039/0.8321, allocations: 261.6 kB / 1.248 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.8327, allocations: 405.5 kB / 1.248 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.8327, allocations: 0.9062 kB / 1.248 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.288/2.121, allocations: 22.02 MB / 1.27 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/15.67, allocations: 6.281 kB / 1.27 GB, free: 187.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)