Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0,fileNamePrefix="IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 108.2 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7177/0.7177, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 65.77 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 76.18 MB / 0.6316 GB, free: 4.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00677/0.1516, allocations: 4.901 MB / 0.6363 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.6/0.7516, allocations: 150.6 MB / 0.7834 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000861/0.7526, allocations: 15.38 kB / 0.7834 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.7532, allocations: 199.8 kB / 0.7836 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.755, allocations: 0.5504 MB / 0.7841 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.7568, allocations: 0.8285 MB / 0.7849 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.7587, allocations: 1.38 MB / 0.7863 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009444/0.7597, allocations: 0.578 MB / 0.7869 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009585/0.7607, allocations: 480.9 kB / 0.7873 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006783/0.7614, allocations: 0.4968 MB / 0.7878 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.7615, allocations: 114 kB / 0.7879 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.7628, allocations: 484.5 kB / 0.7884 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.7631, allocations: 292.8 kB / 0.7886 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006483/0.7638, allocations: 0.556 MB / 0.7892 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.7667, allocations: 1.621 MB / 0.7908 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7667, allocations: 0 / 0.7908 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.175e-06/0.7667, allocations: 0 / 0.7908 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.7668, allocations: 0 / 0.7908 GB, free: 12.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002771/0.7695, allocations: 1.427 MB / 0.7922 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7696, allocations: 14.78 kB / 0.7922 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.7697, allocations: 134.9 kB / 0.7923 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009314/0.7707, allocations: 180.5 kB / 0.7925 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.7718, allocations: 0.7681 MB / 0.7932 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.7719, allocations: 63.77 kB / 0.7933 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.772, allocations: 79.88 kB / 0.7934 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.7735, allocations: 0.9111 MB / 0.7943 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.7735, allocations: 3.938 kB / 0.7943 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.7736, allocations: 39.97 kB / 0.7943 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.7736, allocations: 18.31 kB / 0.7943 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.7752, allocations: 1.093 MB / 0.7954 GB, free: 11.55 MB / 0.5919 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.003893/0.7791, allocations: 2.75 MB / 0.7981 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7805, allocations: 0.7804 MB / 0.7988 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.781, allocations: 298.8 kB / 0.7991 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/0.7811, allocations: 39.77 kB / 0.7992 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008083/0.7819, allocations: 482.5 kB / 0.7996 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 2.765e-06/0.7819, allocations: 0 / 0.7996 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=78): time 0.0031/0.785, allocations: 1.178 MB / 0.8008 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/0.7851, allocations: 190.8 kB / 0.8009 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.786, allocations: 0.634 MB / 0.8016 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.7861, allocations: 44.92 kB / 0.8016 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.7864, allocations: 401.6 kB / 0.802 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.7867, allocations: 244.8 kB / 0.8022 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.7869, allocations: 147 kB / 0.8024 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.787, allocations: 390.4 kB / 0.8027 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.7875, allocations: 236.5 kB / 0.803 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.788, allocations: 373.4 kB / 0.8033 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.789, allocations: 0.5789 MB / 0.8039 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.789, allocations: 0 / 0.8039 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001836/0.7908, allocations: 0.7903 MB / 0.8047 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.7909, allocations: 7.531 kB / 0.8047 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.7909, allocations: 0 / 0.8047 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/0.7915, allocations: 83.95 kB / 0.8047 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.7921, allocations: 154.5 kB / 0.8049 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.7943, allocations: 1.629 MB / 0.8065 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007393/0.795, allocations: 91.59 kB / 0.8066 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.7951, allocations: 27.92 kB / 0.8066 GB, free: 6.469 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0004385/0.7956, allocations: 268.7 kB / 0.8069 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.7957, allocations: 83.28 kB / 0.8069 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.7979, allocations: 1.048 MB / 0.808 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7979, allocations: 9.688 kB / 0.808 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7979, allocations: 0 / 0.808 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.7979, allocations: 11.92 kB / 0.808 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.7991, allocations: 0.8935 MB / 0.8089 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.7991, allocations: 0 / 0.8089 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.7997, allocations: 139.7 kB / 0.809 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.8001, allocations: 76.59 kB / 0.8091 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/0.8002, allocations: 21.98 kB / 0.8091 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.8021, allocations: 1.656 MB / 0.8107 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8021, allocations: 8.266 kB / 0.8107 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.8041, allocations: 0.9187 MB / 0.8116 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.8046, allocations: 271.6 kB / 0.8119 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.8047, allocations: 19.5 kB / 0.8119 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.8053, allocations: 61.64 kB / 0.8119 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.8055, allocations: 74.22 kB / 0.812 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.8055, allocations: 30.58 kB / 0.812 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006006/0.8061, allocations: 471.2 kB / 0.8125 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8062, allocations: 0 / 0.8125 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008665/0.807, allocations: 305 kB / 0.8128 GB, free: 2.742 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.003503/0.8105, allocations: 1.959 MB / 0.8147 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001734/0.8123, allocations: 0.779 MB / 0.8155 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.8123, allocations: 1.781 kB / 0.8155 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009172/0.8132, allocations: 0.5172 MB / 0.816 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.8147, allocations: 305.9 kB / 0.8162 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.8262, allocations: 6.133 MB / 0.8222 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.8269, allocations: 1.022 MB / 0.8232 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009077/0.8279, allocations: 260.8 kB / 0.8235 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.8284, allocations: 385.7 kB / 0.8239 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.8284, allocations: 0 / 0.8239 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/0.8849, allocations: 21.45 MB / 0.8448 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.88, allocations: 3.984 kB / 0.8448 GB, free: 8.426 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Examples_Tutorial_SimpleHouse_SimpleHouse0.fmu > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1)