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.001293/0.001293, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001346/0.001346, allocations: 220.9 kB / 23 MB, free: 5.004 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.008/1.008, allocations: 150 MB / 463.2 MB, free: 10.54 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse1",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.002002/0.002002, allocations: 66.83 kB / 0.6413 GB, free: 10.51 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1795, allocations: 89.17 MB / 0.7283 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.00748/0.187, allocations: 5.196 MB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6455/0.8325, allocations: 154.2 MB / 0.884 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.8341, allocations: 23.81 kB / 0.884 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.8352, allocations: 198.1 kB / 0.8842 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.8383, allocations: 0.5803 MB / 0.8847 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003174/0.8415, allocations: 0.8841 MB / 0.8856 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002768/0.8442, allocations: 1.452 MB / 0.887 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.8454, allocations: 418.3 kB / 0.8874 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.8467, allocations: 0.5139 MB / 0.8879 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.8477, allocations: 0.5251 MB / 0.8884 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002376/0.848, allocations: 120 kB / 0.8886 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.8494, allocations: 0.5152 MB / 0.8891 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003654/0.8497, allocations: 311 kB / 0.8894 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.8506, allocations: 0.583 MB / 0.8899 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.8538, allocations: 1.718 MB / 0.8916 GB, free: 188 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.8538, allocations: 4 kB / 0.8916 GB, free: 184 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8538, allocations: 0 / 0.8916 GB, free: 184 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.8538, allocations: 0 / 0.8916 GB, free: 184 kB / 0.6544 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.003924/0.8578, allocations: 1.455 MB / 0.893 GB, free: 14.68 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.8578, allocations: 8.031 kB / 0.893 GB, free: 14.68 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.8581, allocations: 143.5 kB / 0.8932 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.8604, allocations: 240 kB / 0.8934 GB, free: 14.29 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.8625, allocations: 0.7191 MB / 0.8941 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.432e-05/0.8626, allocations: 70 kB / 0.8942 GB, free: 13.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.8627, allocations: 84 kB / 0.8942 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.8652, allocations: 0.9417 MB / 0.8952 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.8652, allocations: 0 / 0.8952 GB, free: 12.41 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.8653, allocations: 36 kB / 0.8952 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.289e-05/0.8653, allocations: 27.98 kB / 0.8952 GB, free: 12.35 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.8683, allocations: 1.112 MB / 0.8963 GB, free: 11.23 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.006743/0.8751, allocations: 2.788 MB / 0.899 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.8773, allocations: 0.7687 MB / 0.8998 GB, free: 7.547 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008566/0.8782, allocations: 284.9 kB / 0.9001 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.8783, allocations: 32.59 kB / 0.9001 GB, free: 7.234 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.8796, allocations: 491.2 kB / 0.9006 GB, free: 6.738 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/0.8796, allocations: 0 / 0.9006 GB, free: 6.738 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.005199/0.8848, allocations: 1.14 MB / 0.9017 GB, free: 5.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001867/0.885, allocations: 196.5 kB / 0.9019 GB, free: 5.355 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.8865, allocations: 0.6685 MB / 0.9025 GB, free: 4.684 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.8867, allocations: 41.7 kB / 0.9026 GB, free: 4.637 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006056/0.8873, allocations: 425 kB / 0.903 GB, free: 4.215 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.8877, allocations: 273.7 kB / 0.9032 GB, free: 3.945 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.888, allocations: 146.6 kB / 0.9034 GB, free: 3.797 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0003009/0.8883, allocations: 390.8 kB / 0.9037 GB, free: 3.406 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008658/0.8892, allocations: 253.9 kB / 0.904 GB, free: 3.156 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.8902, allocations: 366.5 kB / 0.9043 GB, free: 2.773 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.8921, allocations: 0.5877 MB / 0.9049 GB, free: 2.176 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.8921, allocations: 0 / 0.9049 GB, free: 2.176 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00319/0.8953, allocations: 0.8179 MB / 0.9057 GB, free: 1.344 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.8953, allocations: 13.97 kB / 0.9057 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.8953, allocations: 0 / 0.9057 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008767/0.8962, allocations: 84.81 kB / 0.9058 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.8972, allocations: 159.8 kB / 0.9059 GB, free: 1.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.9003, allocations: 1.521 MB / 0.9074 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.9014, allocations: 83.83 kB / 0.9075 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.9015, allocations: 44.41 kB / 0.9075 GB, free: 15.33 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 (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.0009012/0.9024, allocations: 278 kB / 0.9078 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.9027, allocations: 91.39 kB / 0.9079 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.9064, allocations: 1.068 MB / 0.9089 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.9064, allocations: 12 kB / 0.909 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9064, allocations: 0 / 0.909 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.9064, allocations: 7.922 kB / 0.909 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.9078, allocations: 0.8916 MB / 0.9098 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.9078, allocations: 4 kB / 0.9098 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.9084, allocations: 147.8 kB / 0.91 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.9089, allocations: 74.09 kB / 0.91 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-05/0.9089, allocations: 35.91 kB / 0.9101 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.911, allocations: 1.548 MB / 0.9116 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.911, allocations: 128 / 0.9116 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.9139, allocations: 1.348 MB / 0.9129 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004931/0.9144, allocations: 203.1 kB / 0.9131 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.9145, allocations: 23.98 kB / 0.9131 GB, free: 9.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000611/0.9151, allocations: 63.88 kB / 0.9132 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.9153, allocations: 72.86 kB / 0.9133 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.9153, allocations: 44.03 kB / 0.9133 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006765/0.916, allocations: 487 kB / 0.9138 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.916, allocations: 0 / 0.9138 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008826/0.9169, allocations: 327.1 kB / 0.9141 GB, free: 8.445 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 (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.005068/0.922, allocations: 2.407 MB / 0.9164 GB, free: 6.227 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.9239, allocations: 0.7805 MB / 0.9172 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9239, allocations: 0 / 0.9172 GB, free: 5.43 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000997/0.9249, allocations: 0.4886 MB / 0.9177 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.9264, allocations: 311.1 kB / 0.918 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.9377, allocations: 6.448 MB / 0.9243 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.9384, allocations: 1.038 MB / 0.9253 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008806/0.9393, allocations: 270.8 kB / 0.9255 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.9399, allocations: 415.2 kB / 0.9259 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of SimCode: time 9.21e-07/0.9399, allocations: 0 / 0.9259 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/1.01, allocations: 22.86 MB / 0.9483 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.65, allocations: 7.938 kB / 0.9483 GB, free: 5.645 MB / 0.7169 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.685567077016458] Failed to read output from testmodel.py, exit status != 0: 15.901087570004165 15.917226473 15.059963053 Calling exit ...