Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.SimpleHouse,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.SimpleHouse,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00254/0.002541, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.439/2.439, allocations: 221.5 MB / 395.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 100.9 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.444e-05, allocations: 4 kB / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8136/0.8137, allocations: 82.29 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.916/9.729, allocations: 2.203 GB / 2.836 GB, free: 51.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/9.73, allocations: 87.27 kB / 2.837 GB, free: 51.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 27.96/37.69, allocations: 3.72 GB / 6.556 GB, free: 67.93 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.22e-06/37.69, allocations: 0 / 6.556 GB, free: 67.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.002355/37.7, allocations: 179.8 kB / 6.556 GB, free: 67.91 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1201 * Number of variables: 1201 Notification: Performance of Generate backend data structure: time 0.04087/37.74, allocations: 6.717 MB / 6.563 GB, free: 65.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.316e-05/37.74, allocations: 8.719 kB / 6.563 GB, free: 65.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03078/37.77, allocations: 2.623 MB / 6.565 GB, free: 64.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04093/37.81, allocations: 7.814 MB / 6.573 GB, free: 63.71 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006218/37.81, allocations: 154.6 kB / 6.573 GB, free: 63.71 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/37.81, allocations: 296.2 kB / 6.574 GB, free: 63.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0174/37.83, allocations: 4.805 MB / 6.578 GB, free: 63.68 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02374/37.86, allocations: 5.127 MB / 6.583 GB, free: 62.94 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003027/37.86, allocations: 9.656 kB / 6.583 GB, free: 62.94 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002021/37.86, allocations: 7.281 kB / 6.583 GB, free: 62.94 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002764/37.86, allocations: 199.9 kB / 6.583 GB, free: 62.93 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 preOpt removeSimpleEquations (simulation): time 0.06617/37.92, allocations: 25.94 MB / 6.609 GB, free: 50.74 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/37.94, allocations: 3.952 MB / 6.613 GB, free: 50.61 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004921/37.94, allocations: 2.219 MB / 6.615 GB, free: 50.57 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 preOpt evalFunc (simulation): time 0.03006/37.97, allocations: 8.426 MB / 6.623 GB, free: 48.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003795/37.98, allocations: 1.986 MB / 6.625 GB, free: 48.79 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005054/37.98, allocations: 383.1 kB / 6.625 GB, free: 48.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=298): time 1.305e-05/37.98, allocations: 0 / 6.625 GB, free: 48.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=298): time 0.01442/37.99, allocations: 4.005 MB / 6.629 GB, free: 48.17 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000358/38, allocations: 377.5 kB / 6.63 GB, free: 47.76 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01526/38.01, allocations: 4.104 MB / 6.634 GB, free: 47.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00183/38.01, allocations: 30.92 kB / 6.634 GB, free: 47.33 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.004763/38.02, allocations: 2.985 MB / 6.637 GB, free: 46.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002216/38.02, allocations: 0.9737 MB / 6.637 GB, free: 45.71 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/38.02, allocations: 0 / 6.637 GB, free: 45.71 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000299/38.02, allocations: 452.6 kB / 6.638 GB, free: 45.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/38.02, allocations: 1.501 MB / 6.639 GB, free: 45.39 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/38.03, allocations: 2.698 MB / 6.642 GB, free: 44.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/38.03, allocations: 2.049 MB / 6.644 GB, free: 43.98 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.243e-05/38.03, allocations: 7.906 kB / 6.644 GB, free: 43.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=469) (initialization): time 0.01671/38.05, allocations: 5.099 MB / 6.649 GB, free: 43.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004836/38.05, allocations: 13.37 MB / 6.662 GB, free: 29.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/38.05, allocations: 25.59 kB / 6.662 GB, free: 29.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/38.06, allocations: 0.6174 MB / 6.663 GB, free: 29.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005598/38.06, allocations: 0.8858 MB / 6.664 GB, free: 29.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007734/38.07, allocations: 5.521 MB / 6.669 GB, free: 25.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/38.08, allocations: 416.1 kB / 6.669 GB, free: 25.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/38.08, allocations: 195 kB / 6.67 GB, free: 25.57 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/38.08, allocations: 6.656 kB / 6.67 GB, free: 25.57 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0165/38.1, allocations: 4.332 MB / 6.674 GB, free: 25.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/38.1, allocations: 28.97 kB / 6.674 GB, free: 25.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004808/38.1, allocations: 0.6378 MB / 6.674 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008552/38.11, allocations: 0.8663 MB / 6.675 GB, free: 25.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/38.12, allocations: 5.521 MB / 6.681 GB, free: 21.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01296/38.14, allocations: 377.1 kB / 6.681 GB, free: 21.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002397/38.14, allocations: 188.1 kB / 6.681 GB, free: 21.38 MB / 0.823 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.hysRad.y,hysRad.y,booleanToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (441): * Single equations (assignments): 434 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.003782/38.14, allocations: 217.4 kB / 6.681 GB, free: 21.25 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01965/38.16, allocations: 3.802 MB / 6.685 GB, free: 20.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004479/38.17, allocations: 0.5514 MB / 6.686 GB, free: 20.47 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0254/38.19, allocations: 4.487 MB / 6.69 GB, free: 20.16 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/38.19, allocations: 31.25 kB / 6.69 GB, free: 20.16 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.373e-05/38.19, allocations: 2.719 kB / 6.69 GB, free: 20.16 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01561/38.21, allocations: 3.486 MB / 6.693 GB, free: 19.83 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.04707/38.26, allocations: 9.342 MB / 6.703 GB, free: 19.06 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/38.26, allocations: 7.766 kB / 6.703 GB, free: 19.06 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005692/38.26, allocations: 0.6259 MB / 6.703 GB, free: 19.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/38.26, allocations: 458.8 kB / 6.704 GB, free: 18.99 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001266/38.27, allocations: 56.31 kB / 6.704 GB, free: 18.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/38.28, allocations: 11.27 MB / 6.715 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-05/38.28, allocations: 7.125 kB / 6.715 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02437/38.31, allocations: 6.756 MB / 6.721 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00934/38.32, allocations: 1.154 MB / 6.722 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005167/38.32, allocations: 17.03 kB / 6.722 GB, free: 23.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01131/38.33, allocations: 346.9 kB / 6.723 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/38.34, allocations: 227.8 kB / 6.723 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001206/38.34, allocations: 149.7 kB / 6.723 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01023/38.35, allocations: 3.073 MB / 6.726 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.21e-07/38.35, allocations: 0 / 6.726 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.03085/38.38, allocations: 3.746 MB / 6.73 GB, free: 22.92 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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.s[1],vavDam.filter.s[2]) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y,booleanToInt.y) * Number of discrete states: 3 (weaDat.conTimMin.tNext,weaDat.conTim.tNext,hysRad.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (309): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.05691/38.43, allocations: 15.07 MB / 6.745 GB, free: 17.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.03014/38.47, allocations: 6.662 MB / 6.751 GB, free: 16.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/38.47, allocations: 4.688 kB / 6.751 GB, free: 16.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.008679/38.47, allocations: 2.574 MB / 6.754 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02459/38.5, allocations: 2.388 MB / 6.756 GB, free: 16.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05424/38.55, allocations: 10.96 MB / 6.767 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009355/38.56, allocations: 3.809 MB / 6.77 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0237/38.59, allocations: 2.801 MB / 6.773 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00903/38.6, allocations: 2.713 MB / 6.776 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of SimCode: time 2.054e-06/38.6, allocations: 0 / 6.776 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.952/40.55, allocations: 197.2 MB / 6.968 GB, free: 83.34 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/40.55, allocations: 156 kB / 6.968 GB, free: 83.14 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.99/61.53, allocations: 6.219 kB / 6.968 GB, free: 83.14 MB / 0.8542 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_SimpleHouse.fmu > IDEAS_dev_IDEAS.Fluid.Examples.SimpleHouse.pipe 2>&1)