Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0",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.0008079/0.0008079, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004955/0.004955, allocations: 170.6 kB / 16.26 MB, free: 6.613 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: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.351/2.351, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 13.44 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.221, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.004343/0.2254, allocations: 4.522 MB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1253/0.3507, allocations: 146.7 MB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005679/0.3513, allocations: 11.94 kB / 1.206 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.3518, allocations: 154.8 kB / 1.207 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.3531, allocations: 463.4 kB / 1.207 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.3546, allocations: 0.7233 MB / 1.208 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.3558, allocations: 1.268 MB / 1.209 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/0.3566, allocations: 0.5516 MB / 1.21 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004702/0.3571, allocations: 350.4 kB / 1.21 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004675/0.3575, allocations: 381.9 kB / 1.21 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.749e-05/0.3576, allocations: 24 kB / 1.21 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.3583, allocations: 367.6 kB / 1.211 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3585, allocations: 191.1 kB / 1.211 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.3589, allocations: 470.9 kB / 1.211 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.3602, allocations: 1.483 MB / 1.213 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3602, allocations: 0 / 1.213 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3602, allocations: 0 / 1.213 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.3602, allocations: 4 kB / 1.213 GB, free: 6.652 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001999/0.3622, allocations: 1.22 MB / 1.214 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3623, allocations: 11.97 kB / 1.214 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.3624, allocations: 135.3 kB / 1.214 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.3632, allocations: 199.4 kB / 1.214 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.3641, allocations: 0.7467 MB / 1.215 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.3641, allocations: 62 kB / 1.215 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.3642, allocations: 80 kB / 1.215 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.3656, allocations: 0.9153 MB / 1.216 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3656, allocations: 0 / 1.216 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.3657, allocations: 35.94 kB / 1.216 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.3657, allocations: 20 kB / 1.216 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3672, allocations: 1.108 MB / 1.217 GB, free: 1.98 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.003333/0.3706, allocations: 2.811 MB / 1.22 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3718, allocations: 0.7895 MB / 1.221 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004662/0.3723, allocations: 302.7 kB / 1.221 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/0.3724, allocations: 24.61 kB / 1.221 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000724/0.3731, allocations: 495.1 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 1.793e-06/0.3731, allocations: 0 / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002744/0.3759, allocations: 1.194 MB / 1.223 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.376, allocations: 196.6 kB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.3766, allocations: 0.6332 MB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.3767, allocations: 41.7 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.3769, allocations: 396.3 kB / 1.224 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.3771, allocations: 252.4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.626e-05/0.3772, allocations: 61.69 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3773, allocations: 390.7 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.3778, allocations: 249.9 kB / 1.225 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.3783, allocations: 367.4 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009305/0.3792, allocations: 0.5885 MB / 1.226 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3792, allocations: 3.938 kB / 1.226 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001579/0.3808, allocations: 0.798 MB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3808, allocations: 8 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3808, allocations: 3.938 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.3814, allocations: 88.83 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.3819, allocations: 147.8 kB / 1.227 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.3836, allocations: 1.516 MB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.3842, allocations: 103.4 kB / 1.228 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.3842, allocations: 31.98 kB / 1.228 GB, free: 6.105 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0003028/0.3846, allocations: 269.5 kB / 1.228 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3847, allocations: 86.91 kB / 1.229 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3867, allocations: 1.05 MB / 1.23 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3868, allocations: 8 kB / 1.23 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3868, allocations: 4 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3868, allocations: 3.984 kB / 1.23 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00083/0.3876, allocations: 0.8994 MB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3876, allocations: 0 / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.3881, allocations: 143.8 kB / 1.231 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004737/0.3886, allocations: 88.77 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.3887, allocations: 23.98 kB / 1.231 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.3902, allocations: 1.54 MB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3902, allocations: 0 / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.3919, allocations: 0.9278 MB / 1.233 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.3922, allocations: 283.7 kB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3923, allocations: 19.98 kB / 1.233 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.3929, allocations: 82.56 kB / 1.234 GB, free: 444 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.393, allocations: 68.89 kB / 1.234 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.3931, allocations: 35.98 kB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000459/0.3935, allocations: 459 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3935, allocations: 0 / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006152/0.3942, allocations: 327.1 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.002902/0.3971, allocations: 1.962 MB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001309/0.3984, allocations: 0.796 MB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3984, allocations: 4.25 kB / 1.237 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007904/0.3992, allocations: 0.512 MB / 1.238 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4003, allocations: 282.3 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.4098, allocations: 6.804 MB / 1.244 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.4102, allocations: 1.024 MB / 1.245 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006782/0.4109, allocations: 262.7 kB / 1.246 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.4114, allocations: 387.3 kB / 1.246 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.4114, allocations: 3.938 kB / 1.246 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.152/5.564, allocations: 20.15 MB / 1.266 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/5.564, allocations: 287.8 kB / 1.266 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/9.035, allocations: 4 kB / 1.266 GB, free: 186.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)