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: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8309/0.8309, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001132/0.001132, allocations: 176.3 kB / 182.2 MB, free: 9.43 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.572/1.572, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009711/0.0009712, allocations: 88.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 272.5 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.923e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4632, allocations: 82.77 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.288/5.751, allocations: 1.93 GB / 2.688 GB, free: 126.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/5.751, allocations: 98.91 kB / 2.688 GB, free: 126.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.481/8.233, allocations: 0.6207 GB / 3.308 GB, free: 33.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/8.233, allocations: 3.938 kB / 3.308 GB, free: 33.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002021/8.233, allocations: 39.98 kB / 3.308 GB, free: 33.76 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.004759/8.238, allocations: 1.566 MB / 3.31 GB, free: 32.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/8.238, allocations: 8.031 kB / 3.31 GB, free: 32.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002874/8.241, allocations: 365.8 kB / 3.31 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/8.245, allocations: 1.214 MB / 3.311 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/8.245, allocations: 35.98 kB / 3.312 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004211/8.246, allocations: 64 kB / 3.312 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001871/8.248, allocations: 0.6912 MB / 3.312 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/8.25, allocations: 0.9369 MB / 3.313 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.684e-05/8.25, allocations: 0 / 3.313 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/8.25, allocations: 4 kB / 3.313 GB, free: 28.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/8.25, allocations: 37.98 kB / 3.313 GB, free: 28.69 MB / 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.006988/8.257, allocations: 4.93 MB / 3.318 GB, free: 23.42 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/8.258, allocations: 0.6332 MB / 3.319 GB, free: 22.78 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/8.258, allocations: 305.5 kB / 3.319 GB, free: 22.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005842/8.259, allocations: 307.8 kB / 3.319 GB, free: 22.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/8.259, allocations: 47.11 kB / 3.319 GB, free: 22.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.567e-06/8.259, allocations: 0.5625 kB / 3.319 GB, free: 22.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001831/8.261, allocations: 0.7125 MB / 3.32 GB, free: 21.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/8.261, allocations: 166.7 kB / 3.32 GB, free: 21.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/8.262, allocations: 0.5881 MB / 3.321 GB, free: 20.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/8.262, allocations: 25.7 kB / 3.321 GB, free: 20.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/8.262, allocations: 0.5658 MB / 3.321 GB, free: 19.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/8.263, allocations: 244.4 kB / 3.322 GB, free: 19.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/8.263, allocations: 0 / 3.322 GB, free: 19.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/8.263, allocations: 334 kB / 3.322 GB, free: 19.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/8.263, allocations: 225.5 kB / 3.322 GB, free: 19.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/8.263, allocations: 453.6 kB / 3.322 GB, free: 18.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/8.264, allocations: 352.3 kB / 3.323 GB, free: 18.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/8.264, allocations: 4 kB / 3.323 GB, free: 18.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001401/8.265, allocations: 0.7879 MB / 3.324 GB, free: 17.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004555/8.266, allocations: 1.673 MB / 3.325 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/8.266, allocations: 7.984 kB / 3.325 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/8.266, allocations: 8 kB / 3.325 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/8.268, allocations: 255.6 kB / 3.325 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/8.269, allocations: 1.365 MB / 3.327 GB, free: 13.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/8.27, allocations: 95.47 kB / 3.327 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/8.27, allocations: 28 kB / 3.327 GB, free: 13.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/8.27, allocations: 4 kB / 3.327 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/8.271, allocations: 0.6622 MB / 3.328 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/8.271, allocations: 4 kB / 3.328 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/8.271, allocations: 8 kB / 3.328 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/8.273, allocations: 268.2 kB / 3.328 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/8.274, allocations: 1.354 MB / 3.329 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/8.275, allocations: 95.47 kB / 3.329 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.351e-05/8.275, allocations: 32 kB / 3.329 GB, free: 11.25 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.0002567/8.276, allocations: 129.3 kB / 3.329 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/8.276, allocations: 102.8 kB / 3.33 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/8.278, allocations: 0.7844 MB / 3.33 GB, free: 10.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/8.278, allocations: 8 kB / 3.33 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/8.278, allocations: 0 / 3.33 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/8.279, allocations: 0.7185 MB / 3.331 GB, free: 9.461 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/8.283, allocations: 1.842 MB / 3.333 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/8.283, allocations: 4 kB / 3.333 GB, free: 7.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007525/8.284, allocations: 156 kB / 3.333 GB, free: 7.391 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/8.284, allocations: 44.81 kB / 3.333 GB, free: 7.344 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/8.284, allocations: 8 kB / 3.333 GB, free: 7.336 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/8.285, allocations: 1.328 MB / 3.334 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/8.285, allocations: 0 / 3.334 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/8.287, allocations: 1.332 MB / 3.336 GB, free: 4.477 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/8.288, allocations: 251.7 kB / 3.336 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/8.288, allocations: 15.91 kB / 3.336 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009415/8.289, allocations: 63.84 kB / 3.336 GB, free: 4.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/8.289, allocations: 52.45 kB / 3.336 GB, free: 4.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/8.289, allocations: 24 kB / 3.336 GB, free: 4.055 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007632/8.29, allocations: 455.9 kB / 3.336 GB, free: 3.598 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/8.29, allocations: 0 / 3.336 GB, free: 3.598 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002606/8.293, allocations: 0.6505 MB / 3.337 GB, free: 2.945 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.003504/8.296, allocations: 1.986 MB / 3.339 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.5936/8.89, allocations: 1.072 MB / 3.34 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/8.89, allocations: 1.719 kB / 3.34 GB, free: 113 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/8.891, allocations: 428.4 kB / 3.34 GB, free: 112.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/8.894, allocations: 423 kB / 3.341 GB, free: 112.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00431/8.898, allocations: 1.651 MB / 3.342 GB, free: 112.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/8.9, allocations: 1.172 MB / 3.344 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002092/8.902, allocations: 310.8 kB / 3.344 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/8.902, allocations: 63.03 kB / 3.344 GB, free: 111.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.844e-06/8.902, allocations: 3.031 kB / 3.344 GB, free: 111.7 MB / 0.698 GB Notification: Performance of Templates: time 0.05092/8.953, allocations: 26.59 MB / 3.37 GB, free: 111.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)