Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.001147/0.001147, allocations: 177.6 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4918/0.4918, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009342/0.0009342, allocations: 91.97 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.684e-05, allocations: 0 / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1532, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.068/5.221, allocations: 1.923 GB / 2.477 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/5.221, allocations: 90.95 kB / 2.477 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.626/7.847, allocations: 0.6231 GB / 3.1 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.823e-06/7.847, allocations: 0 / 3.1 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001967/7.848, allocations: 36 kB / 3.1 GB, free: 83.57 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.004738/7.852, allocations: 1.579 MB / 3.102 GB, free: 81.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/7.852, allocations: 12.03 kB / 3.102 GB, free: 81.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/7.855, allocations: 365.8 kB / 3.102 GB, free: 81.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/7.859, allocations: 1.217 MB / 3.103 GB, free: 80.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/7.86, allocations: 35.14 kB / 3.103 GB, free: 80.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000332/7.86, allocations: 67.94 kB / 3.103 GB, free: 80.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001765/7.862, allocations: 0.6951 MB / 3.104 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/7.864, allocations: 0.9369 MB / 3.105 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.055e-05/7.864, allocations: 11.89 kB / 3.105 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/7.864, allocations: 0 / 3.105 GB, free: 78.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.062e-05/7.864, allocations: 34 kB / 3.105 GB, free: 78.52 MB / 0.6042 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.006556/7.871, allocations: 4.929 MB / 3.11 GB, free: 73.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/7.871, allocations: 0.6163 MB / 3.111 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/7.872, allocations: 315.1 kB / 3.111 GB, free: 72.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/7.872, allocations: 307.8 kB / 3.111 GB, free: 72.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/7.872, allocations: 47.12 kB / 3.111 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 4.548e-06/7.872, allocations: 0 / 3.111 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.0015/7.874, allocations: 0.7086 MB / 3.112 GB, free: 71.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/7.874, allocations: 170.8 kB / 3.112 GB, free: 71.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/7.875, allocations: 0.5884 MB / 3.113 GB, free: 70.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/7.875, allocations: 37.58 kB / 3.113 GB, free: 70.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/7.875, allocations: 0.5657 MB / 3.113 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/7.875, allocations: 240.4 kB / 3.113 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/7.875, allocations: 0 / 3.113 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/7.875, allocations: 334.7 kB / 3.114 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/7.876, allocations: 225.5 kB / 3.114 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004248/7.876, allocations: 452.6 kB / 3.114 GB, free: 68.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/7.877, allocations: 356.3 kB / 3.115 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/7.877, allocations: 0 / 3.115 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001215/7.878, allocations: 0.7994 MB / 3.115 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003695/7.878, allocations: 1.668 MB / 3.117 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/7.878, allocations: 8 kB / 3.117 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/7.878, allocations: 8 kB / 3.117 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/7.88, allocations: 255.6 kB / 3.117 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/7.881, allocations: 1.354 MB / 3.119 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/7.882, allocations: 107.4 kB / 3.119 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/7.882, allocations: 35.98 kB / 3.119 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/7.882, allocations: 5.25 kB / 3.119 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001097/7.883, allocations: 0.6627 MB / 3.119 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/7.883, allocations: 8.062 kB / 3.119 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/7.883, allocations: 8 kB / 3.119 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/7.885, allocations: 251.7 kB / 3.12 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009655/7.886, allocations: 1.357 MB / 3.121 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/7.887, allocations: 111.4 kB / 3.121 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/7.887, allocations: 32 kB / 3.121 GB, free: 61.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002554/7.887, allocations: 131.2 kB / 3.121 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001261/7.888, allocations: 0.6774 MB / 3.122 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/7.889, allocations: 98.78 kB / 3.122 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/7.89, allocations: 0.7923 MB / 3.123 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/7.89, allocations: 8 kB / 3.123 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/7.89, allocations: 0 / 3.123 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/7.891, allocations: 0.7225 MB / 3.124 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/7.894, allocations: 1.845 MB / 3.125 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/7.894, allocations: 4 kB / 3.125 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000701/7.895, allocations: 147.8 kB / 3.126 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/7.896, allocations: 45.05 kB / 3.126 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/7.896, allocations: 11.98 kB / 3.126 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/7.897, allocations: 1.331 MB / 3.127 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/7.897, allocations: 4.062 kB / 3.127 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/7.899, allocations: 1.297 MB / 3.128 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000504/7.899, allocations: 255.6 kB / 3.128 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/7.899, allocations: 19.88 kB / 3.128 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/7.9, allocations: 55.94 kB / 3.128 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-05/7.9, allocations: 48.5 kB / 3.128 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.211e-05/7.9, allocations: 20 kB / 3.129 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000581/7.901, allocations: 464.1 kB / 3.129 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/7.901, allocations: 0 / 3.129 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00199/7.903, allocations: 0.6543 MB / 3.13 GB, free: 52.18 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005037/7.908, allocations: 4.214 MB / 3.134 GB, free: 48.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002543/7.91, allocations: 1.08 MB / 3.135 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/7.911, allocations: 0 / 3.135 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006789/7.911, allocations: 420.1 kB / 3.135 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/7.914, allocations: 418.5 kB / 3.136 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/7.918, allocations: 1.883 MB / 3.137 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/7.918, allocations: 1.18 MB / 3.139 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001327/7.919, allocations: 314.6 kB / 3.139 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/7.92, allocations: 447.3 kB / 3.139 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/7.92, allocations: 0 / 3.139 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07051/7.99, allocations: 38.91 MB / 3.177 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/7.991, allocations: 172.5 kB / 3.177 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/11.43, allocations: 0 / 3.177 GB, free: 3.465 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)