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.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.001352/0.001352, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001437/0.001437, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.809 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 1.011/1.011, allocations: 150 MB / 464 MB, free: 10.21 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.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3",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.002736/0.002736, allocations: 66.78 kB / 0.642 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.215, allocations: 89.16 MB / 0.729 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.561/0.776, allocations: 146.2 MB / 0.8718 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.789, allocations: 7.512 MB / 0.8791 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.7908, allocations: 47.62 kB / 0.8792 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.7923, allocations: 400.9 kB / 0.8795 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004619/0.797, allocations: 1.39 MB / 0.8809 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.8001, allocations: 1.216 MB / 0.8821 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003366/0.8034, allocations: 2.406 MB / 0.8844 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.805, allocations: 0.9847 MB / 0.8854 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.8064, allocations: 0.8914 MB / 0.8863 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001572/0.8079, allocations: 0.8211 MB / 0.8871 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.8082, allocations: 152 kB / 0.8872 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.8103, allocations: 1.033 MB / 0.8882 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004795/0.8108, allocations: 450.5 kB / 0.8887 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007688/0.8116, allocations: 0.6415 MB / 0.8893 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.8152, allocations: 2.46 MB / 0.8917 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8152, allocations: 0 / 0.8917 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8152, allocations: 0 / 0.8917 GB, free: 14.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.8152, allocations: 0 / 0.8917 GB, free: 14.45 MB / 0.67 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.003587/0.8188, allocations: 1.883 MB / 0.8935 GB, free: 12.52 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8188, allocations: 8.031 kB / 0.8935 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.395e-05/0.8189, allocations: 30.2 kB / 0.8936 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.8191, allocations: 172.9 kB / 0.8937 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.8216, allocations: 367.6 kB / 0.8941 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.8234, allocations: 0.959 MB / 0.895 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.254e-05/0.8235, allocations: 86.14 kB / 0.8951 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.8236, allocations: 104 kB / 0.8952 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.8261, allocations: 1.535 MB / 0.8967 GB, free: 9.074 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.8261, allocations: 0 / 0.8967 GB, free: 9.074 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.8262, allocations: 51.94 kB / 0.8967 GB, free: 9.023 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.8263, allocations: 38.12 kB / 0.8968 GB, free: 8.984 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.8286, allocations: 1.304 MB / 0.8981 GB, free: 7.672 MB / 0.67 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.005413/0.834, allocations: 2.926 MB / 0.9009 GB, free: 4.668 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.8358, allocations: 0.9373 MB / 0.9018 GB, free: 3.727 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.8365, allocations: 365 kB / 0.9022 GB, free: 3.371 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.8366, allocations: 28.97 kB / 0.9022 GB, free: 3.344 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.8378, allocations: 0.7951 MB / 0.903 GB, free: 2.477 MB / 0.67 GB Notification: Performance of pre-optimization done (n=102): time 2.815e-06/0.8378, allocations: 3.938 kB / 0.903 GB, free: 2.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.003814/0.8416, allocations: 1.371 MB / 0.9043 GB, free: 1.098 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.8417, allocations: 196.9 kB / 0.9045 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.843, allocations: 0.8587 MB / 0.9053 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.8431, allocations: 41.7 kB / 0.9054 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005843/0.8437, allocations: 0.5402 MB / 0.9059 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/0.8441, allocations: 357 kB / 0.9063 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.8444, allocations: 186.5 kB / 0.9064 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.8446, allocations: 349.9 kB / 0.9068 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.8452, allocations: 313.8 kB / 0.9071 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009193/0.8462, allocations: 0.5829 MB / 0.9076 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.8476, allocations: 0.7853 MB / 0.9084 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8476, allocations: 0 / 0.9084 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00255/0.8502, allocations: 1.029 MB / 0.9094 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.8502, allocations: 8 kB / 0.9094 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8502, allocations: 224 / 0.9094 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/0.8509, allocations: 84.78 kB / 0.9095 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.8518, allocations: 207.7 kB / 0.9097 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002406/0.8542, allocations: 1.53 MB / 0.9112 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.8553, allocations: 108.9 kB / 0.9113 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.8554, allocations: 35.98 kB / 0.9113 GB, free: 9.594 MB / 0.6856 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.0006402/0.8561, allocations: 317.5 kB / 0.9116 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.8563, allocations: 131.2 kB / 0.9118 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.8592, allocations: 1.235 MB / 0.913 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.8592, allocations: 16 kB / 0.913 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8592, allocations: 0 / 0.913 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.8592, allocations: 11.95 kB / 0.913 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.8608, allocations: 0.9817 MB / 0.9139 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8608, allocations: 0 / 0.9139 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/0.8618, allocations: 207.7 kB / 0.9141 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000474/0.8622, allocations: 72.78 kB / 0.9142 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.251e-05/0.8623, allocations: 31.98 kB / 0.9142 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.8644, allocations: 1.539 MB / 0.9157 GB, free: 4.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.8644, allocations: 4 kB / 0.9157 GB, free: 4.879 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/0.8678, allocations: 1.586 MB / 0.9173 GB, free: 3.273 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.8685, allocations: 254.9 kB / 0.9175 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.8687, allocations: 27.94 kB / 0.9176 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/0.8695, allocations: 71.92 kB / 0.9176 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.8697, allocations: 80.84 kB / 0.9177 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.315e-05/0.8698, allocations: 47.97 kB / 0.9178 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008881/0.8707, allocations: 0.6021 MB / 0.9183 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8707, allocations: 3.938 kB / 0.9184 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001162/0.8719, allocations: 431 kB / 0.9188 GB, free: 1.762 MB / 0.6856 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.005626/0.8775, allocations: 2.693 MB / 0.9214 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.8795, allocations: 0.9369 MB / 0.9223 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8795, allocations: 4 kB / 0.9223 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.8806, allocations: 0.5665 MB / 0.9229 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.8827, allocations: 497 kB / 0.9233 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.8976, allocations: 8.323 MB / 0.9315 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.8983, allocations: 0.5715 MB / 0.932 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001145/0.8994, allocations: 329.3 kB / 0.9323 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/0.9002, allocations: 0.5149 MB / 0.9328 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of SimCode: time 1.061e-06/0.9002, allocations: 0 / 0.9328 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/0.9726, allocations: 32.07 MB / 0.9642 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.8/16.78, allocations: 14.31 kB / 0.9642 GB, free: 3.676 MB / 0.7325 GB " [Timeout remaining time 643] (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 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.911856871913187] Failed to read output from testmodel.py, exit status != 0: 17.075355059001595 17.098287214 16.278147022 Calling exit ...