Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001312/0.001312, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001604/0.001604, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9854/0.9854, allocations: 150 MB / 463.2 MB, free: 10.5 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.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",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.002029/0.002029, allocations: 66.2 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2085, allocations: 89.17 MB / 0.7284 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007984/0.2164, allocations: 5.299 MB / 0.7335 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5709/0.7873, allocations: 154.2 MB / 0.8841 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.7885, allocations: 19.88 kB / 0.8841 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.7896, allocations: 209.1 kB / 0.8843 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.7919, allocations: 0.5868 MB / 0.8849 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.7943, allocations: 0.8916 MB / 0.8858 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002138/0.7965, allocations: 1.475 MB / 0.8872 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008182/0.7973, allocations: 431.8 kB / 0.8876 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.7981, allocations: 0.5255 MB / 0.8881 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007235/0.7988, allocations: 0.5407 MB / 0.8887 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001654/0.799, allocations: 120 kB / 0.8888 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.8001, allocations: 0.5191 MB / 0.8893 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.8004, allocations: 311 kB / 0.8896 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005968/0.801, allocations: 0.5985 MB / 0.8902 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.8035, allocations: 1.745 MB / 0.8919 GB, free: 15.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8035, allocations: 3.938 kB / 0.8919 GB, free: 15.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8035, allocations: 0 / 0.8919 GB, free: 15.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.307e-05/0.8035, allocations: 4 kB / 0.8919 GB, free: 15.76 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002985/0.8065, allocations: 1.474 MB / 0.8933 GB, free: 14.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.8065, allocations: 12.03 kB / 0.8933 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001936/0.8067, allocations: 139.7 kB / 0.8935 GB, free: 14.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.8082, allocations: 240 kB / 0.8937 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.8097, allocations: 0.7347 MB / 0.8944 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/0.8097, allocations: 69.98 kB / 0.8945 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.8099, allocations: 84 kB / 0.8946 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.8115, allocations: 0.9535 MB / 0.8955 GB, free: 11.95 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.8115, allocations: 0 / 0.8955 GB, free: 11.95 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.8116, allocations: 36 kB / 0.8955 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.8116, allocations: 24 kB / 0.8955 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.8136, allocations: 1.143 MB / 0.8967 GB, free: 10.75 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.005042/0.8186, allocations: 2.822 MB / 0.8994 GB, free: 7.797 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.8204, allocations: 0.7934 MB / 0.9002 GB, free: 6.992 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.821, allocations: 298.7 kB / 0.9005 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.522e-05/0.8211, allocations: 32.61 kB / 0.9005 GB, free: 6.668 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.8221, allocations: 0.5139 MB / 0.901 GB, free: 6.137 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/0.8221, allocations: 0 / 0.901 GB, free: 6.137 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003448/0.8256, allocations: 1.184 MB / 0.9022 GB, free: 4.945 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.8257, allocations: 188.9 kB / 0.9023 GB, free: 4.719 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.8268, allocations: 0.6686 MB / 0.903 GB, free: 4.047 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.379e-05/0.8269, allocations: 45.7 kB / 0.903 GB, free: 3.996 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.8273, allocations: 433 kB / 0.9034 GB, free: 3.566 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.8276, allocations: 289.5 kB / 0.9037 GB, free: 3.281 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.8279, allocations: 150.6 kB / 0.9039 GB, free: 3.129 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002173/0.8281, allocations: 394.7 kB / 0.9042 GB, free: 2.734 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005244/0.8286, allocations: 253.9 kB / 0.9045 GB, free: 2.484 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.8293, allocations: 374.5 kB / 0.9048 GB, free: 2.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.8305, allocations: 0.6047 MB / 0.9054 GB, free: 1.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8305, allocations: 7.938 kB / 0.9054 GB, free: 1.469 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002144/0.8326, allocations: 0.8413 MB / 0.9063 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.8326, allocations: 4 kB / 0.9063 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8327, allocations: 4 kB / 0.9063 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/0.8334, allocations: 84.86 kB / 0.9064 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.8341, allocations: 163.7 kB / 0.9065 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.8364, allocations: 1.524 MB / 0.908 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.8373, allocations: 98.09 kB / 0.9081 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.8374, allocations: 27.98 kB / 0.9081 GB, free: 14.6 MB / 0.6856 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.0006772/0.8381, allocations: 279.2 kB / 0.9084 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.8384, allocations: 88.75 kB / 0.9085 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.8409, allocations: 1.094 MB / 0.9095 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.8409, allocations: 12 kB / 0.9095 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.8409, allocations: 0 / 0.9095 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.8409, allocations: 3.984 kB / 0.9096 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.8424, allocations: 0.9182 MB / 0.9104 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.8424, allocations: 0 / 0.9104 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006421/0.843, allocations: 160.9 kB / 0.9106 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004503/0.8435, allocations: 76.72 kB / 0.9107 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/0.8435, allocations: 27.98 kB / 0.9107 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.8456, allocations: 1.56 MB / 0.9122 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8456, allocations: 0 / 0.9122 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.8484, allocations: 1.375 MB / 0.9136 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.8489, allocations: 207 kB / 0.9138 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.849, allocations: 27.92 kB / 0.9138 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.8497, allocations: 64.7 kB / 0.9139 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.8499, allocations: 72.86 kB / 0.9139 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.8499, allocations: 39.97 kB / 0.914 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007004/0.8506, allocations: 491 kB / 0.9144 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8506, allocations: 0 / 0.9144 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009198/0.8516, allocations: 339.1 kB / 0.9148 GB, free: 7.613 MB / 0.6856 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.005253/0.8568, allocations: 2.434 MB / 0.9171 GB, free: 5.359 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.8586, allocations: 0.804 MB / 0.9179 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8586, allocations: 3.984 kB / 0.9179 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009722/0.8596, allocations: 0.4963 MB / 0.9184 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.8608, allocations: 298.9 kB / 0.9187 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.8727, allocations: 6.614 MB / 0.9251 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007697/0.8734, allocations: 1.051 MB / 0.9262 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008542/0.8743, allocations: 263.1 kB / 0.9264 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006403/0.8749, allocations: 419.2 kB / 0.9268 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/0.8749, allocations: 0 / 0.9268 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.9417, allocations: 23.23 MB / 0.9495 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.48, allocations: 6.406 kB / 0.9495 GB, free: 4.23 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2_fmu --startTime=0 --stopTime=1e+06 --stepSize=400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse2.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.495235310168937] Failed to read output from testmodel.py, exit status != 0: 15.716408606152982 15.744708501 14.935764671 Calling exit ...