Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001415, allocations: 176.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 98.47 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.044e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7154, allocations: 116.3 MB / 0.9733 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.371/7.086, allocations: 2.126 GB / 3.099 GB, free: 278.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/7.086, allocations: 91.02 kB / 3.099 GB, free: 278.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.026/9.113, allocations: 0.6126 GB / 3.712 GB, free: 64.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.813e-06/9.113, allocations: 0 / 3.712 GB, free: 64.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001292/9.113, allocations: 39.98 kB / 3.712 GB, free: 64.23 MB / 0.948 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.004128/9.117, allocations: 1.577 MB / 3.714 GB, free: 62.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/9.117, allocations: 8.031 kB / 3.714 GB, free: 62.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/9.12, allocations: 361.9 kB / 3.714 GB, free: 62.24 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/9.123, allocations: 1.21 MB / 3.715 GB, free: 60.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/9.123, allocations: 32 kB / 3.715 GB, free: 60.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/9.123, allocations: 64 kB / 3.715 GB, free: 60.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/9.124, allocations: 0.6951 MB / 3.716 GB, free: 60.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/9.126, allocations: 0.9408 MB / 3.717 GB, free: 59.19 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/9.126, allocations: 0 / 3.717 GB, free: 59.19 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/9.126, allocations: 4 kB / 3.717 GB, free: 59.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/9.126, allocations: 34 kB / 3.717 GB, free: 59.15 MB / 0.948 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.005085/9.131, allocations: 4.919 MB / 3.722 GB, free: 53.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/9.132, allocations: 0.6346 MB / 3.722 GB, free: 53.26 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/9.132, allocations: 312.2 kB / 3.723 GB, free: 52.95 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/9.133, allocations: 311.8 kB / 3.723 GB, free: 52.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/9.133, allocations: 43.12 kB / 3.723 GB, free: 52.54 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.337e-06/9.133, allocations: 0 / 3.723 GB, free: 52.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001441/9.134, allocations: 0.7125 MB / 3.724 GB, free: 51.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/9.134, allocations: 162.8 kB / 3.724 GB, free: 51.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/9.135, allocations: 0.592 MB / 3.724 GB, free: 51.01 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/9.135, allocations: 25.7 kB / 3.724 GB, free: 50.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/9.135, allocations: 0.5581 MB / 3.725 GB, free: 50.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/9.135, allocations: 244.4 kB / 3.725 GB, free: 50.17 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/9.135, allocations: 0 / 3.725 GB, free: 50.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.062e-05/9.135, allocations: 330 kB / 3.726 GB, free: 49.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/9.136, allocations: 225.5 kB / 3.726 GB, free: 49.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/9.136, allocations: 453.6 kB / 3.726 GB, free: 49.09 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/9.137, allocations: 356.2 kB / 3.727 GB, free: 48.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/9.137, allocations: 7.938 kB / 3.727 GB, free: 48.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001121/9.138, allocations: 0.7993 MB / 3.727 GB, free: 47.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003982/9.138, allocations: 1.668 MB / 3.729 GB, free: 46.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/9.138, allocations: 4 kB / 3.729 GB, free: 46.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/9.138, allocations: 8 kB / 3.729 GB, free: 46.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/9.14, allocations: 255.6 kB / 3.729 GB, free: 45.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/9.141, allocations: 1.361 MB / 3.731 GB, free: 44.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/9.142, allocations: 95.47 kB / 3.731 GB, free: 44.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/9.142, allocations: 36 kB / 3.731 GB, free: 44.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/9.142, allocations: 11.89 kB / 3.731 GB, free: 44.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/9.143, allocations: 0.6583 MB / 3.731 GB, free: 43.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/9.143, allocations: 4 kB / 3.731 GB, free: 43.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/9.143, allocations: 8.562 kB / 3.731 GB, free: 43.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/9.145, allocations: 267.6 kB / 3.732 GB, free: 43.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009168/9.146, allocations: 1.354 MB / 3.733 GB, free: 41.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009992/9.147, allocations: 95.56 kB / 3.733 GB, free: 41.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/9.147, allocations: 31.98 kB / 3.733 GB, free: 41.72 MB / 0.948 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.0002141/9.147, allocations: 132.7 kB / 3.733 GB, free: 41.58 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001065/9.148, allocations: 0.6734 MB / 3.734 GB, free: 40.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/9.148, allocations: 98.78 kB / 3.734 GB, free: 40.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/9.15, allocations: 0.7845 MB / 3.735 GB, free: 40 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/9.15, allocations: 8 kB / 3.735 GB, free: 40 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/9.15, allocations: 0 / 3.735 GB, free: 40 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/9.151, allocations: 0.7108 MB / 3.735 GB, free: 39.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/9.154, allocations: 1.854 MB / 3.737 GB, free: 37.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/9.154, allocations: 4 kB / 3.737 GB, free: 37.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/9.155, allocations: 155.7 kB / 3.737 GB, free: 37.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/9.155, allocations: 48.92 kB / 3.737 GB, free: 37.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/9.155, allocations: 7.984 kB / 3.737 GB, free: 37.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/9.156, allocations: 1.328 MB / 3.739 GB, free: 35.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/9.156, allocations: 0 / 3.739 GB, free: 35.66 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/9.158, allocations: 1.332 MB / 3.74 GB, free: 34.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/9.159, allocations: 243.7 kB / 3.74 GB, free: 33.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/9.159, allocations: 11.98 kB / 3.74 GB, free: 33.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/9.16, allocations: 71.78 kB / 3.74 GB, free: 33.91 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/9.16, allocations: 40.47 kB / 3.74 GB, free: 33.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/9.16, allocations: 27.98 kB / 3.74 GB, free: 33.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006513/9.16, allocations: 455.9 kB / 3.741 GB, free: 33.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/9.16, allocations: 0 / 3.741 GB, free: 33.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002003/9.162, allocations: 0.6505 MB / 3.741 GB, free: 32.73 MB / 0.948 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.005064/9.167, allocations: 4.245 MB / 3.746 GB, free: 28.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002513/9.17, allocations: 1.076 MB / 3.747 GB, free: 27.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/9.17, allocations: 4.188 kB / 3.747 GB, free: 27.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006243/9.171, allocations: 423.7 kB / 3.747 GB, free: 26.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/9.173, allocations: 422.5 kB / 3.747 GB, free: 26.42 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003759/9.177, allocations: 1.889 MB / 3.749 GB, free: 24.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/9.177, allocations: 1.169 MB / 3.75 GB, free: 23.27 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001239/9.179, allocations: 311.5 kB / 3.751 GB, free: 22.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004757/9.179, allocations: 451.3 kB / 3.751 GB, free: 22.52 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/9.179, allocations: 0 / 3.751 GB, free: 22.52 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8314/10.01, allocations: 38.85 MB / 3.789 GB, free: 178.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/10.01, allocations: 177.3 kB / 3.789 GB, free: 178.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/13.91, allocations: 1.125 kB / 3.789 GB, free: 178.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)