Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",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.835/0.835, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 183.8 kB / 182.2 MB, free: 9.465 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.54/1.54, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.001016/0.001016, allocations: 88 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 272 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.101e-05/2.105e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4576, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/5.817, allocations: 1.93 GB / 2.688 GB, free: 88.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/5.817, allocations: 87.33 kB / 2.688 GB, free: 88.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.358/8.175, allocations: 0.6207 GB / 3.308 GB, free: 5.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/8.175, allocations: 0 / 3.308 GB, free: 5.461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001206/8.175, allocations: 35.98 kB / 3.309 GB, free: 5.426 MB / 0.698 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.004199/8.179, allocations: 1.57 MB / 3.31 GB, free: 3.809 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/8.179, allocations: 12.03 kB / 3.31 GB, free: 3.797 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/8.182, allocations: 373.8 kB / 3.31 GB, free: 3.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/8.185, allocations: 1.207 MB / 3.312 GB, free: 2.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/8.185, allocations: 32 kB / 3.312 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/8.185, allocations: 64 kB / 3.312 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001286/8.186, allocations: 0.7029 MB / 3.312 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/8.188, allocations: 0.933 MB / 3.313 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/8.188, allocations: 0 / 3.313 GB, free: 396 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/8.188, allocations: 4 kB / 3.313 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/8.188, allocations: 37.95 kB / 3.313 GB, free: 352 kB / 0.698 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.6249/8.813, allocations: 4.914 MB / 3.318 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/8.814, allocations: 0.6379 MB / 3.319 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/8.815, allocations: 308.4 kB / 3.319 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/8.815, allocations: 317 kB / 3.319 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/8.815, allocations: 39.3 kB / 3.319 GB, free: 112.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/8.815, allocations: 0.8438 kB / 3.319 GB, free: 112.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001943/8.817, allocations: 0.7074 MB / 3.32 GB, free: 112.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.142e-05/8.817, allocations: 169 kB / 3.32 GB, free: 112.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008946/8.818, allocations: 0.5925 MB / 3.321 GB, free: 112.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/8.818, allocations: 27.05 kB / 3.321 GB, free: 112.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003956/8.819, allocations: 0.5595 MB / 3.321 GB, free: 112.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/8.819, allocations: 247.4 kB / 3.322 GB, free: 112 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/8.819, allocations: 3.688 kB / 3.322 GB, free: 112 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/8.819, allocations: 333.9 kB / 3.322 GB, free: 111.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/8.819, allocations: 229 kB / 3.322 GB, free: 111.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/8.82, allocations: 450.8 kB / 3.323 GB, free: 111.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/8.82, allocations: 350.2 kB / 3.323 GB, free: 111.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/8.82, allocations: 2.875 kB / 3.323 GB, free: 111.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00125/8.822, allocations: 0.7907 MB / 3.324 GB, free: 111.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003962/8.822, allocations: 1.667 MB / 3.325 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/8.822, allocations: 3.812 kB / 3.325 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/8.822, allocations: 11.64 kB / 3.325 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/8.824, allocations: 260.4 kB / 3.326 GB, free: 109.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/8.825, allocations: 1.353 MB / 3.327 GB, free: 108.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/8.825, allocations: 95.2 kB / 3.327 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/8.826, allocations: 31.7 kB / 3.327 GB, free: 108.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/8.826, allocations: 3.812 kB / 3.327 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/8.827, allocations: 0.6594 MB / 3.328 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/8.827, allocations: 3.781 kB / 3.328 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/8.827, allocations: 13.22 kB / 3.328 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/8.828, allocations: 259.9 kB / 3.328 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009409/8.829, allocations: 1.365 MB / 3.329 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/8.83, allocations: 96.06 kB / 3.329 GB, free: 107 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/8.83, allocations: 34.44 kB / 3.329 GB, free: 107 MB / 0.698 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.0002038/8.83, allocations: 126.4 kB / 3.33 GB, free: 106.9 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001137/8.832, allocations: 0.6789 MB / 3.33 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/8.832, allocations: 99.16 kB / 3.33 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/8.833, allocations: 0.7797 MB / 3.331 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/8.833, allocations: 8 kB / 3.331 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/8.833, allocations: 2.156 kB / 3.331 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001163/8.835, allocations: 0.7138 MB / 3.332 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/8.838, allocations: 1.842 MB / 3.334 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/8.838, allocations: 6.562 kB / 3.334 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/8.839, allocations: 156.7 kB / 3.334 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/8.839, allocations: 43.02 kB / 3.334 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/8.839, allocations: 10.16 kB / 3.334 GB, free: 106.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/8.84, allocations: 1.326 MB / 3.335 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/8.84, allocations: 2.719 kB / 3.335 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/8.842, allocations: 1.333 MB / 3.336 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/8.843, allocations: 250.6 kB / 3.337 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/8.843, allocations: 4.875 kB / 3.337 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/8.844, allocations: 67.38 kB / 3.337 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/8.844, allocations: 50.17 kB / 3.337 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/8.844, allocations: 33.34 kB / 3.337 GB, free: 104.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000556/8.844, allocations: 459.1 kB / 3.337 GB, free: 104.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/8.844, allocations: 0 / 3.337 GB, free: 104.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001987/8.846, allocations: 0.6515 MB / 3.338 GB, free: 104.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],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.006025/8.852, allocations: 4.246 MB / 3.342 GB, free: 102.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003171/8.856, allocations: 1.066 MB / 3.343 GB, free: 102.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/8.856, allocations: 5.781 kB / 3.343 GB, free: 102.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007721/8.856, allocations: 425.7 kB / 3.343 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/8.859, allocations: 427 kB / 3.344 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/8.863, allocations: 1.884 MB / 3.346 GB, free: 101.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/8.864, allocations: 1.172 MB / 3.347 GB, free: 101 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001234/8.865, allocations: 320.7 kB / 3.347 GB, free: 101 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/8.866, allocations: 442.7 kB / 3.348 GB, free: 101 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/8.866, allocations: 0 / 3.348 GB, free: 101 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.074/8.94, allocations: 38.88 MB / 3.386 GB, free: 100.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/8.94, allocations: 190.7 kB / 3.386 GB, free: 100.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.128/13.07, allocations: 2.75 kB / 3.386 GB, free: 100.1 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)