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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.006953/0.006953, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001868/0.001868, allocations: 205.1 kB / 16.68 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 67.89 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2673, allocations: 162.3 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006361/0.2737, allocations: 5.229 MB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6823/0.956, allocations: 150.7 MB / 1.394 GB, free: 1.168 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.9567, allocations: 20.06 kB / 1.394 GB, free: 1.16 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.9574, allocations: 201.6 kB / 1.394 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.9591, allocations: 0.5688 MB / 1.395 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.961, allocations: 0.843 MB / 1.396 GB, free: 15.95 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001396/0.9624, allocations: 1.449 MB / 1.397 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008107/0.9632, allocations: 0.6092 MB / 1.398 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005404/0.9638, allocations: 0.4978 MB / 1.398 GB, free: 14.37 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.9643, allocations: 0.5267 MB / 1.399 GB, free: 13.99 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.9645, allocations: 120.9 kB / 1.399 GB, free: 13.99 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008074/0.9653, allocations: 487.7 kB / 1.399 GB, free: 13.81 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.9656, allocations: 308 kB / 1.4 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005051/0.9661, allocations: 0.5908 MB / 1.4 GB, free: 13.14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.9679, allocations: 1.699 MB / 1.402 GB, free: 11.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.9679, allocations: 5.188 kB / 1.402 GB, free: 11.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.082e-06/0.9679, allocations: 0 / 1.402 GB, free: 11.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.9679, allocations: 0 / 1.402 GB, free: 11.91 MB / 1.107 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.002363/0.9703, allocations: 1.534 MB / 1.403 GB, free: 10.7 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.9703, allocations: 9.344 kB / 1.403 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/0.9705, allocations: 140.7 kB / 1.403 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008751/0.9713, allocations: 199.5 kB / 1.404 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.9724, allocations: 0.7918 MB / 1.404 GB, free: 9.844 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.604e-05/0.9725, allocations: 66.34 kB / 1.404 GB, free: 9.812 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.9726, allocations: 85.94 kB / 1.405 GB, free: 9.785 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.9741, allocations: 0.9538 MB / 1.405 GB, free: 9.176 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.9741, allocations: 0 / 1.405 GB, free: 9.176 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.9742, allocations: 37.81 kB / 1.406 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.9742, allocations: 21.03 kB / 1.406 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.9759, allocations: 1.141 MB / 1.407 GB, free: 8.598 MB / 1.107 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.003844/0.9798, allocations: 2.871 MB / 1.409 GB, free: 6.277 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9813, allocations: 0.8403 MB / 1.41 GB, free: 5.852 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.9818, allocations: 320.3 kB / 1.411 GB, free: 5.695 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/0.9819, allocations: 39.27 kB / 1.411 GB, free: 5.672 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.9827, allocations: 0.51 MB / 1.411 GB, free: 5.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.657e-06/0.9827, allocations: 3.984 kB / 1.411 GB, free: 5.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.00305/0.9858, allocations: 1.253 MB / 1.412 GB, free: 4.656 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.9859, allocations: 190.2 kB / 1.413 GB, free: 4.438 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.9866, allocations: 0.6529 MB / 1.413 GB, free: 4.059 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.9867, allocations: 43.2 kB / 1.413 GB, free: 4.016 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.987, allocations: 419.9 kB / 1.414 GB, free: 3.648 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.9873, allocations: 291.9 kB / 1.414 GB, free: 3.395 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.9875, allocations: 153.4 kB / 1.414 GB, free: 3.301 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.9877, allocations: 390.2 kB / 1.414 GB, free: 2.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000483/0.9882, allocations: 259.2 kB / 1.415 GB, free: 2.805 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.9888, allocations: 368.1 kB / 1.415 GB, free: 2.574 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.9898, allocations: 0.6141 MB / 1.416 GB, free: 2.238 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9899, allocations: 0 / 1.416 GB, free: 2.238 MB / 1.107 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001766/0.9916, allocations: 0.8437 MB / 1.416 GB, free: 1.801 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.9917, allocations: 6.125 kB / 1.416 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9917, allocations: 1.156 kB / 1.416 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.9922, allocations: 84.17 kB / 1.417 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.9928, allocations: 162.1 kB / 1.417 GB, free: 1.719 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.9948, allocations: 1.626 MB / 1.418 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005794/0.9954, allocations: 94.69 kB / 1.418 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.9954, allocations: 31.55 kB / 1.418 GB, free: 48 kB / 1.107 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.0003533/0.9958, allocations: 271.5 kB / 1.419 GB, free: 15.83 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9959, allocations: 90.62 kB / 1.419 GB, free: 15.79 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.9982, allocations: 1.1 MB / 1.42 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.9982, allocations: 12.12 kB / 1.42 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.9982, allocations: 0 / 1.42 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.9983, allocations: 3.984 kB / 1.42 GB, free: 15.17 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/0.9992, allocations: 0.9302 MB / 1.421 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9992, allocations: 2.531 kB / 1.421 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/0.9998, allocations: 159.4 kB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/1, allocations: 81.81 kB / 1.421 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/1, allocations: 28.2 kB / 1.421 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/1.002, allocations: 1.658 MB / 1.423 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.002, allocations: 0 / 1.423 GB, free: 12.74 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/1.005, allocations: 1.378 MB / 1.424 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003381/1.005, allocations: 288.1 kB / 1.424 GB, free: 11.54 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/1.005, allocations: 23.94 kB / 1.424 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/1.006, allocations: 60.5 kB / 1.424 GB, free: 11.46 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.006, allocations: 72.89 kB / 1.424 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/1.006, allocations: 35.97 kB / 1.424 GB, free: 11.35 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005487/1.007, allocations: 479.1 kB / 1.425 GB, free: 10.88 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.007, allocations: 3.656 kB / 1.425 GB, free: 10.88 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007584/1.007, allocations: 331.2 kB / 1.425 GB, free: 10.56 MB / 1.123 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.004577/1.012, allocations: 2.428 MB / 1.428 GB, free: 8.289 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.014, allocations: 0.8241 MB / 1.428 GB, free: 7.449 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.014, allocations: 4 kB / 1.428 GB, free: 7.445 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/1.015, allocations: 0.5316 MB / 1.429 GB, free: 6.906 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/1.016, allocations: 300.9 kB / 1.429 GB, free: 6.633 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009854/1.026, allocations: 6.547 MB / 1.436 GB, free: 15.93 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/1.026, allocations: 1.047 MB / 1.437 GB, free: 14.86 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007436/1.027, allocations: 271 kB / 1.437 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.027, allocations: 407.3 kB / 1.437 GB, free: 14.19 MB / 1.139 GB Notification: Performance of SimCode: time 4e-07/1.027, allocations: 0 / 1.437 GB, free: 14.19 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6018/1.629, allocations: 22.26 MB / 1.459 GB, free: 8.203 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/15.03, allocations: 11.69 kB / 1.459 GB, free: 8.195 MB / 1.154 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=400 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)