Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_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.001181/0.001181, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.001247, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7553/0.7553, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 67.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4569, allocations: 77.93 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.2152/0.6722, allocations: 166 MB / 0.7294 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.6873, allocations: 7.821 MB / 0.737 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.6896, allocations: 35.81 kB / 0.7371 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002137/0.6918, allocations: 393 kB / 0.7374 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005041/0.697, allocations: 1.326 MB / 0.7387 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.7005, allocations: 1.157 MB / 0.7399 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003504/0.704, allocations: 2.344 MB / 0.7422 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002241/0.7062, allocations: 1.194 MB / 0.7433 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.7086, allocations: 0.8056 MB / 0.7441 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/0.7112, allocations: 0.7916 MB / 0.7449 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00072/0.7119, allocations: 152 kB / 0.745 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/0.7152, allocations: 1.1 MB / 0.7461 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007309/0.716, allocations: 426.7 kB / 0.7465 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.7177, allocations: 0.7852 MB / 0.7473 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4048/1.123, allocations: 2.367 MB / 0.7496 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.123, allocations: 0.5312 kB / 0.7496 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/1.123, allocations: 0 / 0.7496 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.184e-05/1.123, allocations: 0.75 kB / 0.7496 GB, free: 8.371 MB / 0.5762 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.004225/1.127, allocations: 1.871 MB / 0.7514 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.127, allocations: 10.94 kB / 0.7514 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/1.127, allocations: 165.9 kB / 0.7516 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1.129, allocations: 327.6 kB / 0.7519 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/1.131, allocations: 0.9826 MB / 0.7529 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/1.131, allocations: 86.5 kB / 0.7529 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/1.131, allocations: 106 kB / 0.753 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/1.134, allocations: 1.171 MB / 0.7542 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/1.134, allocations: 7.594 kB / 0.7542 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/1.134, allocations: 50.14 kB / 0.7542 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.52e-05/1.134, allocations: 38.16 kB / 0.7543 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/1.137, allocations: 1.307 MB / 0.7556 GB, free: 6.836 MB / 0.5762 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.007589/1.144, allocations: 3.843 MB / 0.7593 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/1.147, allocations: 0.9954 MB / 0.7603 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008225/1.148, allocations: 401.5 kB / 0.7607 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/1.148, allocations: 36.3 kB / 0.7607 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/1.149, allocations: 0.592 MB / 0.7613 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=102): time 3.927e-06/1.149, allocations: 0 / 0.7613 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=102): time 0.004186/1.153, allocations: 1.437 MB / 0.7627 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/1.153, allocations: 193.8 kB / 0.7629 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.155, allocations: 0.8325 MB / 0.7637 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1.155, allocations: 46.67 kB / 0.7637 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004745/1.156, allocations: 0.5229 MB / 0.7642 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/1.156, allocations: 344.9 kB / 0.7646 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/1.156, allocations: 181.5 kB / 0.7647 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/1.156, allocations: 343.7 kB / 0.7651 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/1.157, allocations: 313.8 kB / 0.7654 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/1.158, allocations: 473.5 kB / 0.7658 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/1.159, allocations: 0.775 MB / 0.7666 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.159, allocations: 5.688 kB / 0.7666 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002718/1.162, allocations: 1.028 MB / 0.7676 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.162, allocations: 5.969 kB / 0.7676 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/1.162, allocations: 3.594 kB / 0.7676 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/1.163, allocations: 83.97 kB / 0.7677 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000868/1.164, allocations: 209.9 kB / 0.7679 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/1.166, allocations: 1.642 MB / 0.7695 GB, free: 18.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.167, allocations: 109.1 kB / 0.7696 GB, free: 18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.781e-05/1.167, allocations: 39.22 kB / 0.7696 GB, free: 18 MB / 0.5919 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.0006659/1.168, allocations: 321.3 kB / 0.7699 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/1.168, allocations: 115.5 kB / 0.77 GB, free: 17.83 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002864/1.171, allocations: 1.244 MB / 0.7712 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/1.171, allocations: 11.12 kB / 0.7713 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.171, allocations: 0 / 0.7713 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/1.171, allocations: 7.75 kB / 0.7713 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/1.173, allocations: 1.172 MB / 0.7724 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.173, allocations: 0 / 0.7724 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/1.174, allocations: 204.9 kB / 0.7726 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004284/1.174, allocations: 75.8 kB / 0.7727 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/1.174, allocations: 31.83 kB / 0.7727 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/1.176, allocations: 1.666 MB / 0.7743 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.176, allocations: 1.094 kB / 0.7743 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/1.179, allocations: 1.571 MB / 0.7759 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006804/1.18, allocations: 325.5 kB / 0.7762 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.18, allocations: 23.75 kB / 0.7762 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/1.181, allocations: 74.64 kB / 0.7763 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.181, allocations: 76.61 kB / 0.7763 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/1.181, allocations: 49.33 kB / 0.7764 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006952/1.182, allocations: 0.5833 MB / 0.777 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.152e-06/1.182, allocations: 0 / 0.777 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001152/1.183, allocations: 419.4 kB / 0.7774 GB, free: 15.59 MB / 0.5919 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.004566/1.187, allocations: 2.647 MB / 0.7799 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002954/1.19, allocations: 1.236 MB / 0.7812 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/1.19, allocations: 0 / 0.7812 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.191, allocations: 0.6069 MB / 0.7817 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002493/1.194, allocations: 494.7 kB / 0.7822 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.207, allocations: 8.655 MB / 0.7907 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/1.208, allocations: 1.156 MB / 0.7918 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001387/1.209, allocations: 321.9 kB / 0.7921 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/1.21, allocations: 0.5145 MB / 0.7926 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/1.21, allocations: 0 / 0.7926 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09995/1.31, allocations: 29.28 MB / 0.8212 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.66, allocations: 4.844 kB / 0.8212 GB, free: 10.98 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1)