Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.SimpleHouse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.SimpleHouse,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_SimpleHouse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 387.1 MB / 399.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 179.4 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.3 MB / 0.7871 GB, free: 12.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009065, allocations: 98 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.108e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.007/6.336, allocations: 2.24 GB / 3.453 GB, free: 36.23 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/6.336, allocations: 91.06 kB / 3.453 GB, free: 36.19 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 16.4/22.74, allocations: 3.756 GB / 7.209 GB, free: 136.3 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.164e-06/22.74, allocations: 0 / 7.209 GB, free: 136.3 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.00146/22.74, allocations: 182.8 kB / 7.209 GB, free: 136.3 MB / 1.292 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.02744/22.77, allocations: 6.707 MB / 7.215 GB, free: 133.9 MB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/22.77, allocations: 10.09 kB / 7.215 GB, free: 133.9 MB / 1.292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003395/22.77, allocations: 0.6194 MB / 7.216 GB, free: 133.9 MB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0209/22.79, allocations: 2.803 MB / 7.219 GB, free: 133.4 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02915/22.82, allocations: 7.889 MB / 7.226 GB, free: 132.4 MB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/22.82, allocations: 365 kB / 7.227 GB, free: 132.4 MB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002563/22.82, allocations: 491.2 kB / 7.227 GB, free: 132.4 MB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/22.84, allocations: 5.81 MB / 7.233 GB, free: 131.6 MB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003031/22.84, allocations: 8.312 kB / 7.233 GB, free: 131.6 MB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002076/22.85, allocations: 196.2 kB / 7.233 GB, free: 131.6 MB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002471/22.85, allocations: 203.3 kB / 7.233 GB, free: 131.6 MB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01408/22.86, allocations: 5.146 MB / 7.238 GB, free: 131.6 MB / 1.292 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.05563/22.92, allocations: 26.88 MB / 7.265 GB, free: 119.2 MB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009608/22.93, allocations: 3.966 MB / 7.269 GB, free: 119.2 MB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/22.93, allocations: 2.161 MB / 7.271 GB, free: 119.1 MB / 1.292 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.02366/22.95, allocations: 8.602 MB / 7.279 GB, free: 117.5 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004483/22.96, allocations: 2.075 MB / 7.281 GB, free: 117.4 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00447/22.96, allocations: 487 kB / 7.282 GB, free: 117.2 MB / 1.292 GB Notification: Performance of pre-optimization done (n=299): time 1.326e-05/22.96, allocations: 3.656 kB / 7.282 GB, free: 117.2 MB / 1.292 GB Notification: Performance of matching and sorting (n=299): time 0.01055/22.97, allocations: 3.945 MB / 7.285 GB, free: 116.7 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/22.97, allocations: 370.5 kB / 7.286 GB, free: 116.3 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/22.99, allocations: 4.682 MB / 7.29 GB, free: 115.8 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.001425/22.99, allocations: 96.42 kB / 7.29 GB, free: 115.8 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004281/22.99, allocations: 2.987 MB / 7.293 GB, free: 114.9 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001943/22.99, allocations: 1.019 MB / 7.294 GB, free: 114.3 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008187/22.99, allocations: 76.22 kB / 7.294 GB, free: 114.3 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0004451/23, allocations: 450.1 kB / 7.295 GB, free: 114 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004192/23, allocations: 1.509 MB / 7.296 GB, free: 114 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005206/23, allocations: 2.699 MB / 7.299 GB, free: 112.6 MB / 1.292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/23.01, allocations: 1.914 MB / 7.301 GB, free: 112.6 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.925e-05/23.01, allocations: 7 kB / 7.301 GB, free: 112.6 MB / 1.292 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01385/23.02, allocations: 5.159 MB / 7.306 GB, free: 112.1 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002843/23.03, allocations: 13.37 MB / 7.319 GB, free: 98.46 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.299e-05/23.03, allocations: 25.44 kB / 7.319 GB, free: 98.46 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/23.03, allocations: 0.6569 MB / 7.32 GB, free: 98.42 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/23.03, allocations: 0.9257 MB / 7.32 GB, free: 98.42 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006009/23.04, allocations: 5.685 MB / 7.326 GB, free: 94.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00762/23.05, allocations: 0.531 MB / 7.327 GB, free: 94.25 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/23.05, allocations: 194.3 kB / 7.327 GB, free: 94.25 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/23.05, allocations: 8.312 kB / 7.327 GB, free: 94.25 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0115/23.06, allocations: 4.599 MB / 7.331 GB, free: 94.11 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/23.06, allocations: 36 kB / 7.331 GB, free: 94.11 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003106/23.06, allocations: 0.6632 MB / 7.332 GB, free: 94.07 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004332/23.07, allocations: 0.9073 MB / 7.333 GB, free: 94.07 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/23.07, allocations: 5.689 MB / 7.338 GB, free: 89.96 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00691/23.08, allocations: 495.6 kB / 7.339 GB, free: 89.94 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009674/23.08, allocations: 192.5 kB / 7.339 GB, free: 89.94 MB / 1.292 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.001759/23.08, allocations: 344.5 kB / 7.339 GB, free: 89.81 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002242/23.08, allocations: 0.582 MB / 7.34 GB, free: 89.51 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/23.1, allocations: 4.658 MB / 7.344 GB, free: 89.19 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/23.1, allocations: 35.95 kB / 7.344 GB, free: 89.18 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/23.1, allocations: 3.719 kB / 7.344 GB, free: 89.18 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006675/23.1, allocations: 3.56 MB / 7.348 GB, free: 88.86 MB / 1.292 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.02722/23.13, allocations: 10.07 MB / 7.358 GB, free: 88.01 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.326e-05/23.13, allocations: 6.609 kB / 7.358 GB, free: 88.01 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/23.13, allocations: 0.6441 MB / 7.358 GB, free: 88.01 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001712/23.14, allocations: 482.4 kB / 7.359 GB, free: 87.94 MB / 1.292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004628/23.14, allocations: 100.1 kB / 7.359 GB, free: 87.93 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/23.14, allocations: 11.6 MB / 7.37 GB, free: 78.09 MB / 1.292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/23.14, allocations: 12.34 kB / 7.37 GB, free: 78.09 MB / 1.292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/23.16, allocations: 6.981 MB / 7.377 GB, free: 76.56 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004528/23.16, allocations: 1.198 MB / 7.378 GB, free: 76.14 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002126/23.16, allocations: 69.44 kB / 7.378 GB, free: 76.14 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006055/23.17, allocations: 434.5 kB / 7.379 GB, free: 76.12 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/23.17, allocations: 229.2 kB / 7.379 GB, free: 76.11 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005531/23.17, allocations: 150.8 kB / 7.379 GB, free: 76.11 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.008138/23.18, allocations: 3.632 MB / 7.383 GB, free: 75.87 MB / 1.292 GB Notification: Performance of sort global known variables: time 4.81e-07/23.18, allocations: 0 / 7.383 GB, free: 75.87 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.01755/23.2, allocations: 3.892 MB / 7.386 GB, free: 75.4 MB / 1.292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (walCap.T,zone.dynBal.medium.Xi[1],zone.dynBal.U,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%) 2,(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.02489/23.22, allocations: 15.06 MB / 7.401 GB, free: 69.68 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.01418/23.24, allocations: 7.093 MB / 7.408 GB, free: 69.09 MB / 1.292 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/23.24, allocations: 3.969 kB / 7.408 GB, free: 69.09 MB / 1.292 GB Notification: Performance of simCode: created simulation system equations: time 0.00388/23.24, allocations: 2.685 MB / 7.411 GB, free: 68.29 MB / 1.292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/23.25, allocations: 2.724 MB / 7.413 GB, free: 68.23 MB / 1.292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/23.28, allocations: 11.32 MB / 7.424 GB, free: 65.75 MB / 1.292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004745/23.29, allocations: 3.822 MB / 7.428 GB, free: 64.88 MB / 1.292 GB Notification: Performance of simCode: alias equations: time 0.01583/23.3, allocations: 2.91 MB / 7.431 GB, free: 64.82 MB / 1.292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005748/23.31, allocations: 2.721 MB / 7.434 GB, free: 64.81 MB / 1.292 GB Notification: Performance of SimCode: time 1.032e-06/23.31, allocations: 0 / 7.434 GB, free: 64.81 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.358/24.67, allocations: 250.7 MB / 7.679 GB, free: 178.9 MB / 1.339 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/24.67, allocations: 211.7 kB / 7.679 GB, free: 178.7 MB / 1.339 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/37.73, allocations: 0 / 7.679 GB, free: 178.7 MB / 1.339 GB (rm -f Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.SimpleHouse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.SimpleHouse_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_SimpleHouse_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_SimpleHouse.fmu > Buildings_9_Buildings.Fluid.Examples.SimpleHouse.pipe 2>&1)