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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002273/0.002273, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.193/2.193, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.334/1.334, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006221/0.0006222, allocations: 8 kB / 0.5069 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2815, allocations: 82.32 MB / 0.5873 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.SimpleHouse): time 1.006/1.287, allocations: 284.1 MB / 0.8647 GB, free: 252 kB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.7752/2.063, allocations: 35.9 MB / 0.8998 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01228/2.075, allocations: 178.6 kB / 0.8999 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01483/2.09, allocations: 2.469 MB / 0.9023 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04853/2.139, allocations: 8.114 MB / 0.9103 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02295/2.162, allocations: 4.515 MB / 0.9147 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.03805/2.2, allocations: 9.999 MB / 0.9244 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02059/2.22, allocations: 5.514 MB / 0.9298 GB, free: 14.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02152/2.242, allocations: 5.414 MB / 0.9351 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/2.254, allocations: 3.504 MB / 0.9385 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00338/2.257, allocations: 270.4 kB / 0.9388 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01865/2.276, allocations: 3.549 MB / 0.9422 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.006599/2.283, allocations: 1.617 MB / 0.9438 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006347/2.289, allocations: 1.454 MB / 0.9452 GB, free: 13.18 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02301/2.312, allocations: 9.299 MB / 0.9543 GB, free: 8.297 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/2.312, allocations: 0.875 kB / 0.9543 GB, free: 8.297 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.647e-06/2.312, allocations: 0 / 0.9543 GB, free: 8.297 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0007412/2.313, allocations: 0 / 0.9543 GB, free: 8.297 MB / 0.67 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.03266/2.346, allocations: 7.186 MB / 0.9613 GB, free: 4.09 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/2.346, allocations: 10.16 kB / 0.9614 GB, free: 4.09 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003579/2.349, allocations: 0.6319 MB / 0.962 GB, free: 3.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02616/2.375, allocations: 2.557 MB / 0.9645 GB, free: 2.867 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0251/2.401, allocations: 5.91 MB / 0.9702 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003228/2.404, allocations: 0.6944 MB / 0.9709 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003259/2.407, allocations: 491.4 kB / 0.9714 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/2.439, allocations: 6.357 MB / 0.9776 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004002/2.439, allocations: 12.97 kB / 0.9776 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002601/2.442, allocations: 195.9 kB / 0.9778 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005089/2.443, allocations: 201.3 kB / 0.978 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/2.471, allocations: 6.194 MB / 0.984 GB, free: 9.543 MB / 0.6856 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.08852/2.56, allocations: 28.2 MB / 1.012 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01963/2.58, allocations: 4.154 MB / 1.016 GB, free: 14.65 MB / 0.7169 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 evalFunc (simulation): time 0.04222/2.622, allocations: 8.835 MB / 1.024 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01093/2.633, allocations: 2.379 MB / 1.027 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00552/2.638, allocations: 463.4 kB / 1.027 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=281): time 2.363e-05/2.639, allocations: 0 / 1.027 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281): time 0.03728/2.676, allocations: 6.953 MB / 1.034 GB, free: 456 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/2.676, allocations: 263.7 kB / 1.034 GB, free: 136 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01867/2.695, allocations: 5.48 MB / 1.039 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001456/2.696, allocations: 102.5 kB / 1.04 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.005914/2.702, allocations: 3.009 MB / 1.042 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00245/2.705, allocations: 0.9608 MB / 1.043 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/2.706, allocations: 72.81 kB / 1.043 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0005885/2.707, allocations: 454.7 kB / 1.044 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/2.717, allocations: 1.988 MB / 1.046 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/2.73, allocations: 3.128 MB / 1.049 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.742, allocations: 2.323 MB / 1.051 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.203e-05/2.742, allocations: 8 kB / 1.051 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.03837/2.78, allocations: 6.326 MB / 1.057 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.007839/2.788, allocations: 13.02 MB / 1.07 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/2.788, allocations: 24 kB / 1.07 GB, free: 1.043 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01375/2.802, allocations: 1.282 MB / 1.071 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008895/2.811, allocations: 1.017 MB / 1.072 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/2.824, allocations: 4.675 MB / 1.077 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01364/2.837, allocations: 0.6817 MB / 1.078 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/2.839, allocations: 183.8 kB / 1.078 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/2.839, allocations: 4 kB / 1.078 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03167/2.871, allocations: 5.684 MB / 1.083 GB, free: 5.637 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/2.871, allocations: 32.03 kB / 1.083 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01268/2.884, allocations: 1.302 MB / 1.085 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00802/2.892, allocations: 0.9814 MB / 1.086 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/2.904, allocations: 4.701 MB / 1.09 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.916, allocations: 0.6437 MB / 1.091 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/2.918, allocations: 176 kB / 1.091 GB, free: 14.34 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (438): * Single equations (assignments): 433 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 2 {3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.007383/2.925, allocations: 1.61 MB / 1.093 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003077/2.928, allocations: 0.5766 MB / 1.093 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0237/2.952, allocations: 5.135 MB / 1.098 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/2.952, allocations: 28 kB / 1.098 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/2.952, allocations: 4 kB / 1.098 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0189/2.971, allocations: 4.085 MB / 1.102 GB, free: 5.914 MB / 0.7794 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 postOpt removeSimpleEquations (simulation): time 0.04546/3.017, allocations: 10.71 MB / 1.113 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-05/3.017, allocations: 5.859 kB / 1.113 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006498/3.023, allocations: 0.7345 MB / 1.113 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/3.026, allocations: 394.6 kB / 1.114 GB, free: 13.24 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/3.027, allocations: 94.25 kB / 1.114 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/3.04, allocations: 10.52 MB / 1.124 GB, free: 2.672 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/3.04, allocations: 4 kB / 1.124 GB, free: 2.668 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03124/3.071, allocations: 7.81 MB / 1.132 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006462/3.078, allocations: 1.208 MB / 1.133 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003115/3.081, allocations: 68.33 kB / 1.133 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01088/3.092, allocations: 0.5433 MB / 1.133 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/3.094, allocations: 221.6 kB / 1.134 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001202/3.095, allocations: 149.2 kB / 1.134 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.01359/3.108, allocations: 3.771 MB / 1.137 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.483e-06/3.108, allocations: 4 kB / 1.137 GB, free: 8.129 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.02244/3.131, allocations: 3.335 MB / 1.141 GB, free: 4.992 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (299): * Single equations (assignments): 287 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.03622/3.167, allocations: 10.07 MB / 1.151 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.03964/3.207, allocations: 8.089 MB / 1.158 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.649e-05/3.207, allocations: 5 kB / 1.158 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01161/3.219, allocations: 2.923 MB / 1.161 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03031/3.249, allocations: 2.727 MB / 1.164 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6578/3.907, allocations: 36.37 MB / 1.2 GB, free: 321.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009274/3.916, allocations: 3.801 MB / 1.203 GB, free: 321 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.01716/3.933, allocations: 1.979 MB / 1.205 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01029/3.944, allocations: 2.83 MB / 1.208 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of SimCode: time 3.437e-06/3.944, allocations: 0 / 1.208 GB, free: 320.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.498/4.442, allocations: 169.3 MB / 1.373 GB, free: 199.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/4.442, allocations: 237.1 kB / 1.373 GB, free: 199.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/18.53, allocations: 0 / 1.373 GB, free: 199.3 MB / 0.8262 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) Environment - environmentSimulation: