Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.001416/0.001416, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001246/0.001246, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.196/1.196, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.699/2.699, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 61.52 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2319, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006651/0.2386, allocations: 5.136 MB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1396/0.3782, allocations: 148.4 MB / 1.202 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006745/0.3789, allocations: 15.94 kB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.3794, allocations: 150.8 kB / 1.203 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.3809, allocations: 0.5005 MB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.3824, allocations: 0.7413 MB / 1.204 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.3836, allocations: 1.424 MB / 1.205 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.3843, allocations: 0.5913 MB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.3848, allocations: 0.4905 MB / 1.206 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004877/0.3853, allocations: 0.5173 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.3855, allocations: 116 kB / 1.207 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006703/0.3861, allocations: 463.6 kB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.3864, allocations: 307 kB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.3868, allocations: 0.5791 MB / 1.208 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.3882, allocations: 1.624 MB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3883, allocations: 4 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3883, allocations: 0 / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.3883, allocations: 3.938 kB / 1.21 GB, free: 7.008 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002248/0.3905, allocations: 1.462 MB / 1.211 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.3906, allocations: 8.625 kB / 1.211 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001497/0.3907, allocations: 135.6 kB / 1.211 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008443/0.3916, allocations: 195.3 kB / 1.211 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009287/0.3925, allocations: 0.7506 MB / 1.212 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.3926, allocations: 66 kB / 1.212 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.3927, allocations: 87.98 kB / 1.212 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.3941, allocations: 0.9339 MB / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3942, allocations: 0 / 1.213 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.889e-05/0.3942, allocations: 36 kB / 1.213 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.3943, allocations: 24 kB / 1.213 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.396, allocations: 1.124 MB / 1.214 GB, free: 2.059 MB / 0.9669 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.004152/0.4002, allocations: 2.767 MB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.4015, allocations: 0.8141 MB / 1.218 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.402, allocations: 310.7 kB / 1.218 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/0.4021, allocations: 28.61 kB / 1.218 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/0.403, allocations: 0.4932 MB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.185e-06/0.403, allocations: 0 / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.003003/0.406, allocations: 1.205 MB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.4061, allocations: 192.6 kB / 1.22 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007174/0.4068, allocations: 0.6411 MB / 1.221 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.4069, allocations: 41.7 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.4072, allocations: 412.3 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.4074, allocations: 268.1 kB / 1.221 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.4076, allocations: 146.5 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4078, allocations: 394.7 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.4082, allocations: 241.9 kB / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.4088, allocations: 370.5 kB / 1.222 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009876/0.4098, allocations: 0.5877 MB / 1.223 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4098, allocations: 4.062 kB / 1.223 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001739/0.4115, allocations: 0.8214 MB / 1.224 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4116, allocations: 4 kB / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4116, allocations: 0 / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005674/0.4122, allocations: 80.84 kB / 1.224 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006063/0.4128, allocations: 163.7 kB / 1.224 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.4147, allocations: 1.638 MB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/0.4154, allocations: 95.33 kB / 1.226 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.4154, allocations: 31.98 kB / 1.226 GB, free: 5.91 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 (89): * Single equations (assignments): 88 * 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.0003257/0.4158, allocations: 269.6 kB / 1.226 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4159, allocations: 82.97 kB / 1.226 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.4181, allocations: 1.077 MB / 1.227 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4181, allocations: 8 kB / 1.227 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4182, allocations: 4 kB / 1.227 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4182, allocations: 3.984 kB / 1.227 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009079/0.4191, allocations: 0.9036 MB / 1.228 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4191, allocations: 4 kB / 1.228 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005966/0.4197, allocations: 155.7 kB / 1.228 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004121/0.4201, allocations: 76.72 kB / 1.228 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.4202, allocations: 27.98 kB / 1.228 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.4219, allocations: 1.658 MB / 1.23 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4219, allocations: 0 / 1.23 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.4243, allocations: 1.332 MB / 1.231 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.4246, allocations: 279.7 kB / 1.232 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.4247, allocations: 19.94 kB / 1.232 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.4254, allocations: 71.89 kB / 1.232 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.4255, allocations: 72.91 kB / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.4256, allocations: 31.97 kB / 1.232 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004847/0.4261, allocations: 467 kB / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4261, allocations: 0 / 1.232 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000688/0.4268, allocations: 327.2 kB / 1.232 GB, free: 14.82 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 (93): * Single equations (assignments): 87 * 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.003777/0.4305, allocations: 2.397 MB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.4326, allocations: 1.011 MB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4326, allocations: 0 / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.4335, allocations: 0.5158 MB / 1.236 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4345, allocations: 305.3 kB / 1.237 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.4449, allocations: 6.987 MB / 1.243 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.4455, allocations: 1.031 MB / 1.244 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007209/0.4462, allocations: 266.7 kB / 1.245 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/0.4467, allocations: 399.2 kB / 1.245 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.4467, allocations: 0 / 1.245 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.468/2.914, allocations: 21.48 MB / 1.266 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/2.915, allocations: 295.7 kB / 1.266 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/5.341, allocations: 0 / 1.266 GB, free: 189.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1)