Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8873/0.8873, allocations: 127.4 MB / 134.9 MB, free: 3.469 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 176.9 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205.2 MB / 399.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009559/0.0009561, allocations: 88.59 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.571e-05, allocations: 2.5 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1755, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.737/6.913, allocations: 2.485 GB / 3.107 GB, free: 207.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/6.913, allocations: 90.14 kB / 3.107 GB, free: 207.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 14.95/21.86, allocations: 3.594 GB / 6.701 GB, free: 46.81 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.244e-06/21.86, allocations: 0 / 6.701 GB, free: 46.81 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001117/21.86, allocations: 178.7 kB / 6.701 GB, free: 46.78 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02423/21.88, allocations: 6.637 MB / 6.708 GB, free: 43.77 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/21.88, allocations: 6.688 kB / 6.708 GB, free: 43.77 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01992/21.9, allocations: 2.806 MB / 6.71 GB, free: 43.37 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02837/21.93, allocations: 8.097 MB / 6.718 GB, free: 42.32 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/21.93, allocations: 159.2 kB / 6.719 GB, free: 42.32 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002299/21.94, allocations: 285.2 kB / 6.719 GB, free: 42.32 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01335/21.95, allocations: 4.814 MB / 6.723 GB, free: 42.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/21.97, allocations: 5.081 MB / 6.728 GB, free: 41.56 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/21.97, allocations: 16.75 kB / 6.728 GB, free: 41.56 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006215/21.97, allocations: 16.05 kB / 6.728 GB, free: 41.56 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/21.97, allocations: 196.4 kB / 6.729 GB, free: 41.54 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.04438/22.01, allocations: 25.96 MB / 6.754 GB, free: 28.96 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007642/22.02, allocations: 3.945 MB / 6.758 GB, free: 28.78 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/22.02, allocations: 2.197 MB / 6.76 GB, free: 28.75 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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 evalFunc (simulation): time 0.02211/22.05, allocations: 8.562 MB / 6.768 GB, free: 26.78 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002828/22.05, allocations: 1.956 MB / 6.77 GB, free: 26.64 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003762/22.05, allocations: 374 kB / 6.771 GB, free: 26.52 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=293): time 7.834e-06/22.05, allocations: 0 / 6.771 GB, free: 26.52 MB / 0.7917 GB Notification: Performance of matching and sorting (n=293): time 0.01421/22.07, allocations: 4.793 MB / 6.775 GB, free: 25.54 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/22.07, allocations: 370.5 kB / 6.776 GB, free: 25.13 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007377/22.07, allocations: 3.971 MB / 6.78 GB, free: 24.78 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001184/22.08, allocations: 39.95 kB / 6.78 GB, free: 24.75 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00295/22.08, allocations: 2.963 MB / 6.782 GB, free: 23.76 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001478/22.08, allocations: 0.9583 MB / 6.783 GB, free: 23.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/22.08, allocations: 0 / 6.783 GB, free: 23.12 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002148/22.08, allocations: 453.8 kB / 6.784 GB, free: 22.81 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002284/22.08, allocations: 1.525 MB / 6.785 GB, free: 22.8 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/22.09, allocations: 2.667 MB / 6.788 GB, free: 21.46 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00762/22.09, allocations: 2.44 MB / 6.79 GB, free: 21.15 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.322e-05/22.09, allocations: 9.969 kB / 6.79 GB, free: 21.15 MB / 0.7917 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.01771/22.11, allocations: 5.446 MB / 6.796 GB, free: 19.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002797/22.11, allocations: 13.16 MB / 6.809 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-05/22.11, allocations: 30.62 kB / 6.809 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/22.12, allocations: 0.6225 MB / 6.809 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004996/22.12, allocations: 0.8952 MB / 6.81 GB, free: 5.109 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/22.13, allocations: 5.499 MB / 6.815 GB, free: 16.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00846/22.14, allocations: 396.5 kB / 6.816 GB, free: 16.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/22.14, allocations: 204.2 kB / 6.816 GB, free: 16.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/22.14, allocations: 4.938 kB / 6.816 GB, free: 16.34 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01821/22.16, allocations: 4.677 MB / 6.821 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/22.16, allocations: 27.44 kB / 6.821 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/22.16, allocations: 0.6443 MB / 6.821 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004773/22.17, allocations: 0.8526 MB / 6.822 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007817/22.17, allocations: 5.496 MB / 6.827 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006965/22.18, allocations: 348.8 kB / 6.828 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/22.18, allocations: 188.6 kB / 6.828 GB, free: 8.18 MB / 0.8073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaWat.vol.heatPort.Q_flow:VARIABLE(flow=true unit = "W" final = true ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (442): * Single equations (assignments): 433 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 2,2 9,5 6,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002377/22.18, allocations: 214.8 kB / 6.828 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01687/22.2, allocations: 4.548 MB / 6.833 GB, free: 3.883 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003045/22.2, allocations: 0.5401 MB / 6.833 GB, free: 3.336 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02081/22.23, allocations: 5.253 MB / 6.838 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.444e-05/22.23, allocations: 32 kB / 6.838 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/22.23, allocations: 4 kB / 6.838 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01395/22.24, allocations: 4.219 MB / 6.842 GB, free: 11.29 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.03442/22.27, allocations: 9.856 MB / 6.852 GB, free: 3.363 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/22.27, allocations: 8.062 kB / 6.852 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/22.28, allocations: 0.6296 MB / 6.853 GB, free: 2.844 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/22.28, allocations: 406.2 kB / 6.853 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008425/22.28, allocations: 62.42 kB / 6.853 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7622/23.04, allocations: 11.06 MB / 6.864 GB, free: 83.62 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/23.04, allocations: 8.734 kB / 6.864 GB, free: 83.62 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01917/23.06, allocations: 7.303 MB / 6.871 GB, free: 82.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003922/23.07, allocations: 1.107 MB / 6.872 GB, free: 82.12 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/23.07, allocations: 15.91 kB / 6.872 GB, free: 82.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004638/23.07, allocations: 347.9 kB / 6.872 GB, free: 82.11 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004706/23.07, allocations: 217.6 kB / 6.873 GB, free: 82.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003323/23.07, allocations: 139.8 kB / 6.873 GB, free: 82.11 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.005233/23.08, allocations: 2.97 MB / 6.876 GB, free: 81.93 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.31e-07/23.08, allocations: 0 / 6.876 GB, free: 81.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01777/23.1, allocations: 3.665 MB / 6.879 GB, free: 81.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 10 (walCap.T,zone.dynBal.U,zone.dynBal.mXi[1],rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,vavDam.filter.x[1],vavDam.filter.x[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTim1.tStart,weaDat.conTim.tStart,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 286 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {2 8,1 3,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03418/23.13, allocations: 15.56 MB / 6.894 GB, free: 76.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01362/23.14, allocations: 6.724 MB / 6.901 GB, free: 75.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/23.14, allocations: 2.969 kB / 6.901 GB, free: 75.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/23.15, allocations: 2.541 MB / 6.904 GB, free: 74.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01421/23.16, allocations: 2.354 MB / 6.906 GB, free: 74.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/23.2, allocations: 11 MB / 6.917 GB, free: 72.52 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/23.2, allocations: 3.769 MB / 6.92 GB, free: 71.68 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01405/23.21, allocations: 2.743 MB / 6.923 GB, free: 71.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005668/23.22, allocations: 2.682 MB / 6.926 GB, free: 71.62 MB / 0.823 GB Notification: Performance of SimCode: time 1.793e-06/23.22, allocations: 0 / 6.926 GB, free: 71.62 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3297/23.55, allocations: 194.5 MB / 7.115 GB, free: 11.13 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/23.55, allocations: 160.7 kB / 7.116 GB, free: 10.94 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/34.24, allocations: 4 kB / 7.116 GB, free: 10.93 MB / 0.823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_SimpleHouse.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.SimpleHouse.pipe 2>&1)