Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 217.3 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9723/0.9723, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 61.25 kB / 0.6419 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2074, allocations: 89.18 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008158/0.2155, allocations: 4.622 MB / 0.7335 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6009/0.8164, allocations: 132.6 MB / 0.8631 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.8174, allocations: 23.81 kB / 0.8631 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008077/0.8182, allocations: 198.2 kB / 0.8633 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.8205, allocations: 0.5784 MB / 0.8639 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.8228, allocations: 0.8671 MB / 0.8647 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001823/0.8246, allocations: 1.444 MB / 0.8661 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007853/0.8254, allocations: 430.2 kB / 0.8665 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008099/0.8262, allocations: 0.5139 MB / 0.867 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006871/0.8269, allocations: 0.5173 MB / 0.8675 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.8271, allocations: 120 kB / 0.8676 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.8282, allocations: 0.5035 MB / 0.8681 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.8286, allocations: 311 kB / 0.8684 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.8292, allocations: 485.7 kB / 0.8689 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.8316, allocations: 1.722 MB / 0.8706 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8316, allocations: 0 / 0.8706 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8316, allocations: 3.375 kB / 0.8706 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.554e-05/0.8316, allocations: 4 kB / 0.8706 GB, free: 4.086 MB / 0.6387 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.003074/0.8347, allocations: 1.455 MB / 0.872 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.8348, allocations: 8.031 kB / 0.872 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.796e-05/0.8348, allocations: 26.69 kB / 0.872 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001872/0.835, allocations: 143.5 kB / 0.8722 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.8366, allocations: 237 kB / 0.8724 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.8381, allocations: 0.7306 MB / 0.8731 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.8382, allocations: 66 kB / 0.8732 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.8383, allocations: 80 kB / 0.8732 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.8404, allocations: 1.185 MB / 0.8744 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.8404, allocations: 0 / 0.8744 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/0.8405, allocations: 40 kB / 0.8744 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.8405, allocations: 20 kB / 0.8745 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.8425, allocations: 1.124 MB / 0.8756 GB, free: 14.8 MB / 0.6544 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.004552/0.847, allocations: 2.266 MB / 0.8778 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.8486, allocations: 0.7661 MB / 0.8785 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.8492, allocations: 286.7 kB / 0.8788 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.8493, allocations: 16.64 kB / 0.8788 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.8503, allocations: 0.5884 MB / 0.8794 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/0.8503, allocations: 0 / 0.8794 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.003578/0.8539, allocations: 1.144 MB / 0.8805 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.854, allocations: 192.5 kB / 0.8807 GB, free: 9.398 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.855, allocations: 0.6685 MB / 0.8813 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.987e-05/0.8551, allocations: 41.7 kB / 0.8814 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.8556, allocations: 429 kB / 0.8818 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.8559, allocations: 273.7 kB / 0.882 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002635/0.8561, allocations: 154.6 kB / 0.8822 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002422/0.8564, allocations: 386.8 kB / 0.8826 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.8569, allocations: 249.9 kB / 0.8828 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.8577, allocations: 494.8 kB / 0.8833 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.8589, allocations: 0.5963 MB / 0.8839 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.8589, allocations: 4 kB / 0.8839 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002302/0.8612, allocations: 0.814 MB / 0.8847 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.8612, allocations: 8 kB / 0.8847 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.8612, allocations: 0 / 0.8847 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/0.8619, allocations: 84.8 kB / 0.8847 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/0.8626, allocations: 163.8 kB / 0.8849 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.865, allocations: 1.527 MB / 0.8864 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/0.8659, allocations: 95.55 kB / 0.8865 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.866, allocations: 27.98 kB / 0.8865 GB, free: 3.207 MB / 0.6544 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.00057/0.8666, allocations: 273.6 kB / 0.8868 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.8668, allocations: 91.39 kB / 0.8869 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.8694, allocations: 1.067 MB / 0.8879 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/0.8694, allocations: 12 kB / 0.8879 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.8694, allocations: 0 / 0.8879 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.8695, allocations: 3.984 kB / 0.8879 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.8706, allocations: 0.7702 MB / 0.8887 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8707, allocations: 0 / 0.8887 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.8713, allocations: 155.8 kB / 0.8888 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.8718, allocations: 76.72 kB / 0.8889 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.923e-05/0.8718, allocations: 23.98 kB / 0.8889 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.874, allocations: 1.555 MB / 0.8904 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.874, allocations: 12.03 kB / 0.8904 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.8771, allocations: 1.34 MB / 0.8918 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005804/0.8777, allocations: 199.1 kB / 0.8919 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.8778, allocations: 23.94 kB / 0.892 GB, free: 13.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.8785, allocations: 59.94 kB / 0.892 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.8787, allocations: 72.86 kB / 0.8921 GB, free: 13.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.199e-05/0.8788, allocations: 39.97 kB / 0.8921 GB, free: 13.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000825/0.8796, allocations: 487 kB / 0.8926 GB, free: 12.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8796, allocations: 4.062 kB / 0.8926 GB, free: 12.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001024/0.8807, allocations: 327.1 kB / 0.8929 GB, free: 12.45 MB / 0.67 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.005638/0.8863, allocations: 2.436 MB / 0.8953 GB, free: 10.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001897/0.8882, allocations: 0.7768 MB / 0.896 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8882, allocations: 0 / 0.896 GB, free: 9.441 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.8892, allocations: 0.4885 MB / 0.8965 GB, free: 8.945 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.8907, allocations: 300.3 kB / 0.8968 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.9032, allocations: 6.46 MB / 0.9031 GB, free: 2.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.9037, allocations: 456 kB / 0.9036 GB, free: 1.582 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.9047, allocations: 264.8 kB / 0.9038 GB, free: 1.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/0.9053, allocations: 411.2 kB / 0.9042 GB, free: 0.918 MB / 0.67 GB Notification: Performance of SimCode: time 8.62e-07/0.9053, allocations: 0 / 0.9042 GB, free: 0.918 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06547/0.9708, allocations: 23.65 MB / 0.9273 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.74, allocations: 12.05 kB / 0.9273 GB, free: 9.574 MB / 0.7012 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.876341702998616] Failed to read output from testmodel.py, exit status != 0: 16.027321147033945 16.043235294 15.208244905 Calling exit ...