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.01912/0.01912, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.528/1.528, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.988/2.988, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.001266/0.001267, allocations: 98.53 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005876/0.0005875, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.867, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/12.2, allocations: 2.203 GB / 2.853 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/12.21, allocations: 96.09 kB / 2.853 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 29.51/41.72, allocations: 3.756 GB / 6.609 GB, free: 56.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.019e-06/41.72, allocations: 0 / 6.609 GB, free: 56.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.002447/41.72, allocations: 183 kB / 6.609 GB, free: 56.64 MB / 0.8386 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.06732/41.79, allocations: 8.271 MB / 6.617 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 9.03e-05/41.79, allocations: 7.875 kB / 6.617 GB, free: 53.16 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006291/41.79, allocations: 0.6371 MB / 6.618 GB, free: 53.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02914/41.82, allocations: 2.62 MB / 6.621 GB, free: 52.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05153/41.88, allocations: 7.887 MB / 6.628 GB, free: 51.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001563/41.88, allocations: 370.6 kB / 6.629 GB, free: 51.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005335/41.88, allocations: 493.7 kB / 6.629 GB, free: 51.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04225/41.92, allocations: 6.001 MB / 6.635 GB, free: 50.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005692/41.93, allocations: 18.66 kB / 6.635 GB, free: 50.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004023/41.93, allocations: 197.2 kB / 6.635 GB, free: 50.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005362/41.93, allocations: 195.6 kB / 6.635 GB, free: 50.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03612/41.97, allocations: 5.48 MB / 6.641 GB, free: 50.79 MB / 0.8386 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.1047/42.07, allocations: 26.81 MB / 6.667 GB, free: 38.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02188/42.09, allocations: 4.214 MB / 6.671 GB, free: 38.38 MB / 0.8386 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.05126/42.14, allocations: 8.163 MB / 6.679 GB, free: 36.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01004/42.15, allocations: 2.169 MB / 6.681 GB, free: 36.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008442/42.16, allocations: 483.4 kB / 6.682 GB, free: 36.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=299): time 4.185e-05/42.16, allocations: 1.031 kB / 6.682 GB, free: 36.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299): time 0.04128/42.2, allocations: 6.687 MB / 6.688 GB, free: 35.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002707/42.2, allocations: 375.9 kB / 6.688 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02436/42.23, allocations: 4.752 MB / 6.693 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002504/42.23, allocations: 97.23 kB / 6.693 GB, free: 34.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.01038/42.24, allocations: 2.993 MB / 6.696 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003395/42.25, allocations: 1.016 MB / 6.697 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001652/42.25, allocations: 73.16 kB / 6.697 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0006762/42.25, allocations: 452.6 kB / 6.698 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007439/42.26, allocations: 1.631 MB / 6.699 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00957/42.27, allocations: 2.838 MB / 6.702 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008184/42.27, allocations: 2.023 MB / 6.704 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.765e-05/42.27, allocations: 7.25 kB / 6.704 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.02716/42.3, allocations: 5.418 MB / 6.709 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.008029/42.31, allocations: 13.37 MB / 6.722 GB, free: 16.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003275/42.31, allocations: 25.31 kB / 6.722 GB, free: 16.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/42.32, allocations: 0.7014 MB / 6.723 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008057/42.32, allocations: 0.8624 MB / 6.724 GB, free: 16.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/42.34, allocations: 5.837 MB / 6.73 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01418/42.35, allocations: 0.5088 MB / 6.73 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/42.35, allocations: 192.5 kB / 6.73 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/42.35, allocations: 4.375 kB / 6.73 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02157/42.37, allocations: 4.833 MB / 6.735 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002225/42.38, allocations: 29.81 kB / 6.735 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005211/42.38, allocations: 0.7047 MB / 6.736 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007222/42.39, allocations: 0.8497 MB / 6.736 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/42.4, allocations: 5.855 MB / 6.742 GB, free: 24.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01368/42.42, allocations: 474.4 kB / 6.743 GB, free: 24.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002466/42.42, allocations: 183.7 kB / 6.743 GB, free: 24.36 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * 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 (442): * Single equations (assignments): 435 * 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,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01204/42.43, allocations: 1.613 MB / 6.744 GB, free: 24.15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00526/42.44, allocations: 0.5818 MB / 6.745 GB, free: 23.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02255/42.46, allocations: 4.844 MB / 6.75 GB, free: 23.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.546e-05/42.46, allocations: 35.66 kB / 6.75 GB, free: 23.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/42.46, allocations: 0 / 6.75 GB, free: 23.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01484/42.47, allocations: 3.76 MB / 6.753 GB, free: 23.2 MB / 0.8542 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.05947/42.53, allocations: 10.12 MB / 6.763 GB, free: 22.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.223e-05/42.53, allocations: 4.75 kB / 6.763 GB, free: 22.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005755/42.54, allocations: 0.6111 MB / 6.764 GB, free: 22.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/42.54, allocations: 495 kB / 6.764 GB, free: 22.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001438/42.54, allocations: 95.84 kB / 6.764 GB, free: 22.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/42.56, allocations: 11.71 MB / 6.776 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/42.56, allocations: 9.5 kB / 6.776 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0285/42.59, allocations: 7.255 MB / 6.783 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/42.6, allocations: 1.181 MB / 6.784 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005274/42.61, allocations: 74 kB / 6.784 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01232/42.62, allocations: 406.7 kB / 6.785 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002097/42.62, allocations: 232.3 kB / 6.785 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001943/42.62, allocations: 149.2 kB / 6.785 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.02038/42.64, allocations: 3.703 MB / 6.789 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.699e-06/42.64, allocations: 3.469 kB / 6.789 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.03916/42.68, allocations: 3.865 MB / 6.792 GB, free: 9.785 MB / 0.8542 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (310): * Single equations (assignments): 296 * 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.05729/42.74, allocations: 15.36 MB / 6.807 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03167/42.77, allocations: 7.208 MB / 6.814 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.941e-05/42.77, allocations: 7.75 kB / 6.814 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009913/42.78, allocations: 2.757 MB / 6.817 GB, free: 16.65 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0278/42.81, allocations: 2.729 MB / 6.82 GB, free: 16.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1051/42.91, allocations: 36.85 MB / 6.856 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01251/42.93, allocations: 3.808 MB / 6.859 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02945/42.96, allocations: 2.185 MB / 6.862 GB, free: 0 / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463/44.42, allocations: 3.39 MB / 6.865 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of SimCode: time 3.366e-06/44.42, allocations: 0 / 6.865 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7583/45.18, allocations: 233.6 MB / 7.093 GB, free: 58.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004441/45.18, allocations: 224.6 kB / 7.093 GB, free: 58.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/60, allocations: 3.938 kB / 7.093 GB, free: 58.16 MB / 0.8855 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)