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.001514/0.001514, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002354/0.002354, allocations: 213 kB / 22.99 MB, free: 4.977 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.54/1.54, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.021/1.021, allocations: 149.9 MB / 463 MB, free: 10.32 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.002079/0.002079, allocations: 71.08 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1861, allocations: 89.17 MB / 0.7282 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007644/0.1938, allocations: 4.731 MB / 0.7328 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5636/0.7574, allocations: 132.7 MB / 0.8624 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.7587, allocations: 23.81 kB / 0.8624 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007822/0.7595, allocations: 208.5 kB / 0.8626 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.7617, allocations: 0.5825 MB / 0.8632 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.764, allocations: 0.8758 MB / 0.8641 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.766, allocations: 1.471 MB / 0.8655 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.7667, allocations: 411.7 kB / 0.8659 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000823/0.7675, allocations: 0.5256 MB / 0.8664 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006476/0.7682, allocations: 493.5 kB / 0.8669 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.7684, allocations: 124 kB / 0.867 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.7694, allocations: 496.3 kB / 0.8675 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.7697, allocations: 319 kB / 0.8678 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.7702, allocations: 0.4898 MB / 0.8682 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.7724, allocations: 1.751 MB / 0.8699 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.7725, allocations: 0 / 0.8699 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7725, allocations: 0 / 0.8699 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.7725, allocations: 4 kB / 0.87 GB, free: 4.121 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002866/0.7753, allocations: 1.47 MB / 0.8714 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.7754, allocations: 12.03 kB / 0.8714 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002391/0.7756, allocations: 139.7 kB / 0.8715 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.7771, allocations: 243.9 kB / 0.8718 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.7785, allocations: 0.7386 MB / 0.8725 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/0.7786, allocations: 69.94 kB / 0.8726 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.7787, allocations: 84 kB / 0.8726 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.7805, allocations: 1.208 MB / 0.8738 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.7805, allocations: 0 / 0.8738 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.7806, allocations: 36 kB / 0.8738 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.7806, allocations: 24 kB / 0.8739 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.7825, allocations: 1.096 MB / 0.8749 GB, free: 14.84 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.004474/0.787, allocations: 2.301 MB / 0.8772 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.7887, allocations: 0.8021 MB / 0.878 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/0.7893, allocations: 290.7 kB / 0.8782 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.401e-05/0.7894, allocations: 32.56 kB / 0.8783 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.7904, allocations: 0.5988 MB / 0.8789 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.046e-06/0.7904, allocations: 3.938 kB / 0.8789 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003384/0.7938, allocations: 1.184 MB / 0.88 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.7939, allocations: 188.9 kB / 0.8802 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.7949, allocations: 0.6725 MB / 0.8809 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/0.795, allocations: 45.7 kB / 0.8809 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.7954, allocations: 433.1 kB / 0.8813 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002589/0.7956, allocations: 289.5 kB / 0.8816 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.7959, allocations: 150.5 kB / 0.8817 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.7961, allocations: 394.7 kB / 0.8821 GB, free: 7.289 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.7966, allocations: 257.9 kB / 0.8824 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.7973, allocations: 495.1 kB / 0.8828 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.7985, allocations: 0.6164 MB / 0.8834 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.7985, allocations: 3.875 kB / 0.8834 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002122/0.8006, allocations: 0.8452 MB / 0.8843 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.8006, allocations: 4 kB / 0.8843 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8006, allocations: 0 / 0.8843 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006077/0.8012, allocations: 84.86 kB / 0.8843 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.8019, allocations: 159.8 kB / 0.8845 GB, free: 4.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.8041, allocations: 1.517 MB / 0.886 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007469/0.8048, allocations: 97.27 kB / 0.8861 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-05/0.8049, allocations: 31.98 kB / 0.8861 GB, free: 3.004 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 (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.0004824/0.8054, allocations: 273.8 kB / 0.8864 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.8056, allocations: 95.39 kB / 0.8865 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.8081, allocations: 1.097 MB / 0.8875 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8081, allocations: 11.75 kB / 0.8875 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8081, allocations: 1.125 kB / 0.8875 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.8081, allocations: 3.984 kB / 0.8875 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.8092, allocations: 0.7897 MB / 0.8883 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.8092, allocations: 0 / 0.8883 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.8099, allocations: 159.8 kB / 0.8885 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004564/0.8103, allocations: 76.66 kB / 0.8885 GB, free: 456 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-05/0.8104, allocations: 27.98 kB / 0.8886 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.8124, allocations: 1.552 MB / 0.8901 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8124, allocations: 0 / 0.8901 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.8154, allocations: 1.368 MB / 0.8914 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005575/0.8159, allocations: 211 kB / 0.8916 GB, free: 13.15 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.8161, allocations: 23.92 kB / 0.8916 GB, free: 13.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.8167, allocations: 63.88 kB / 0.8917 GB, free: 13.06 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.8169, allocations: 76.92 kB / 0.8918 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.817, allocations: 43.97 kB / 0.8918 GB, free: 12.95 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006958/0.8177, allocations: 491 kB / 0.8923 GB, free: 12.47 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8177, allocations: 0 / 0.8923 GB, free: 12.47 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000921/0.8186, allocations: 331.2 kB / 0.8926 GB, free: 12.15 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 (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.005061/0.8236, allocations: 2.459 MB / 0.895 GB, free: 9.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.8255, allocations: 0.8001 MB / 0.8958 GB, free: 9.102 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8255, allocations: 0 / 0.8958 GB, free: 9.102 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009776/0.8264, allocations: 0.4924 MB / 0.8963 GB, free: 8.598 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.8278, allocations: 305.5 kB / 0.8966 GB, free: 8.324 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8392, allocations: 6.624 MB / 0.903 GB, free: 1.551 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.8397, allocations: 465.6 kB / 0.9035 GB, free: 1.066 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008658/0.8406, allocations: 274.9 kB / 0.9037 GB, free: 0.793 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.8412, allocations: 415.2 kB / 0.9041 GB, free: 396 kB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/0.8412, allocations: 0 / 0.9041 GB, free: 396 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07165/0.9128, allocations: 24.22 MB / 0.9278 GB, free: 8.453 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.83, allocations: 11.88 kB / 0.9278 GB, free: 8.441 MB / 0.7012 GB " [Timeout remaining time 645] (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: 18.948292593006045] Failed to read output from testmodel.py, exit status != 0: 15.061272914987057 15.086738722 14.309343802 Calling exit ...