Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.SimpleHouse,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6956/0.6956, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000977/0.000977, allocations: 173.9 kB / 187.3 MB, free: 11.92 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.3 MB / 441.4 MB, free: 4.629 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.0008588/0.0008588, allocations: 95.08 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 274.4 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.105e-05, allocations: 4 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3554, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.938/4.293, allocations: 2.201 GB / 2.965 GB, free: 119.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001843/4.293, allocations: 87.95 kB / 2.965 GB, free: 119.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 11.9/16.19, allocations: 3.747 GB / 6.713 GB, free: 47.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/16.19, allocations: 0 / 6.713 GB, free: 47.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0007463/16.19, allocations: 180.9 kB / 6.713 GB, free: 47 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.01612/16.21, allocations: 6.695 MB / 6.719 GB, free: 43.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/16.21, allocations: 12.38 kB / 6.719 GB, free: 43.91 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/16.21, allocations: 0.6174 MB / 6.72 GB, free: 43.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/16.22, allocations: 2.617 MB / 6.722 GB, free: 43.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/16.24, allocations: 7.724 MB / 6.73 GB, free: 42.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003564/16.24, allocations: 372.2 kB / 6.73 GB, free: 42.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001441/16.24, allocations: 493 kB / 6.731 GB, free: 42.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009444/16.25, allocations: 5.786 MB / 6.736 GB, free: 41.47 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/16.25, allocations: 11.84 kB / 6.736 GB, free: 41.46 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005871/16.26, allocations: 198 kB / 6.737 GB, free: 41.46 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/16.26, allocations: 195.3 kB / 6.737 GB, free: 41.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007646/16.26, allocations: 5.114 MB / 6.742 GB, free: 41.36 MB / 0.8386 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.03334/16.3, allocations: 26.78 MB / 6.768 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005661/16.3, allocations: 3.879 MB / 6.772 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/16.31, allocations: 2.229 MB / 6.774 GB, free: 28.48 MB / 0.8386 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.0149/16.32, allocations: 8.537 MB / 6.782 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002596/16.32, allocations: 2.075 MB / 6.784 GB, free: 23.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002726/16.33, allocations: 486.9 kB / 6.785 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=299): time 5.17e-06/16.33, allocations: 0 / 6.785 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=299): time 0.007016/16.33, allocations: 3.904 MB / 6.789 GB, free: 21.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/16.33, allocations: 370.1 kB / 6.789 GB, free: 21.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00611/16.34, allocations: 4.652 MB / 6.794 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005782/16.34, allocations: 101.7 kB / 6.794 GB, free: 19.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.002128/16.34, allocations: 2.975 MB / 6.797 GB, free: 16.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009345/16.34, allocations: 1.012 MB / 6.798 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/16.34, allocations: 76 kB / 6.798 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000153/16.34, allocations: 451.7 kB / 6.798 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002049/16.34, allocations: 1.497 MB / 6.799 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/16.35, allocations: 2.722 MB / 6.802 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/16.35, allocations: 1.903 MB / 6.804 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/16.35, allocations: 8 kB / 6.804 GB, free: 8.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.008916/16.36, allocations: 5.137 MB / 6.809 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.003016/16.36, allocations: 13.34 MB / 6.822 GB, free: 6.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/16.36, allocations: 24 kB / 6.822 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003005/16.36, allocations: 0.657 MB / 6.823 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/16.37, allocations: 0.8794 MB / 6.824 GB, free: 5.012 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/16.37, allocations: 5.695 MB / 6.829 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006645/16.38, allocations: 0.5054 MB / 6.83 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000898/16.38, allocations: 199.5 kB / 6.83 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/16.38, allocations: 4 kB / 6.83 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/16.39, allocations: 4.582 MB / 6.834 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/16.39, allocations: 28 kB / 6.834 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/16.4, allocations: 0.6605 MB / 6.835 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004059/16.4, allocations: 0.861 MB / 6.836 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/16.41, allocations: 5.692 MB / 6.841 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006103/16.41, allocations: 476.8 kB / 6.842 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008151/16.41, allocations: 186.6 kB / 6.842 GB, free: 3.227 MB / 0.8698 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 () * 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.001538/16.41, allocations: 344.7 kB / 6.842 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001989/16.42, allocations: 0.5711 MB / 6.843 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5343/16.95, allocations: 5.078 MB / 6.848 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/16.95, allocations: 32.02 kB / 6.848 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/16.95, allocations: 4.062 kB / 6.848 GB, free: 86.47 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007838/16.96, allocations: 3.538 MB / 6.851 GB, free: 86.15 MB / 0.8698 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.01848/16.98, allocations: 10.01 MB / 6.861 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/16.98, allocations: 3.859 kB / 6.861 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/16.98, allocations: 0.6314 MB / 6.862 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/16.98, allocations: 474.8 kB / 6.862 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/16.98, allocations: 95.98 kB / 6.862 GB, free: 85.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/16.99, allocations: 11.55 MB / 6.874 GB, free: 75.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/16.99, allocations: 4.062 kB / 6.874 GB, free: 75.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/17, allocations: 6.983 MB / 6.88 GB, free: 74.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003542/17, allocations: 1.185 MB / 6.882 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/17.01, allocations: 71.47 kB / 6.882 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005282/17.01, allocations: 412.3 kB / 6.882 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/17.01, allocations: 234.8 kB / 6.882 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004601/17.01, allocations: 147.5 kB / 6.882 GB, free: 74.11 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.006625/17.02, allocations: 3.602 MB / 6.886 GB, free: 73.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.81e-07/17.02, allocations: 1.25 kB / 6.886 GB, free: 73.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01487/17.03, allocations: 3.88 MB / 6.89 GB, free: 73.68 MB / 0.8698 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 (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.0224/17.06, allocations: 15.07 MB / 6.904 GB, free: 68.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01423/17.07, allocations: 7.055 MB / 6.911 GB, free: 67.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/17.07, allocations: 6.906 kB / 6.911 GB, free: 67.63 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003936/17.08, allocations: 2.665 MB / 6.914 GB, free: 66.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01312/17.09, allocations: 2.732 MB / 6.917 GB, free: 66.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02621/17.11, allocations: 11.27 MB / 6.928 GB, free: 64.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004212/17.12, allocations: 3.793 MB / 6.931 GB, free: 63.61 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01306/17.13, allocations: 2.924 MB / 6.934 GB, free: 63.55 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004367/17.14, allocations: 2.703 MB / 6.937 GB, free: 63.54 MB / 0.8698 GB Notification: Performance of SimCode: time 6.92e-07/17.14, allocations: 0 / 6.937 GB, free: 63.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8339/17.97, allocations: 250.2 MB / 7.181 GB, free: 113.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/17.97, allocations: 226.6 kB / 7.181 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/28.26, allocations: 6.844 kB / 7.181 GB, free: 113.4 MB / 0.9167 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_SimpleHouse.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)