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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 115.8 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 185.7 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 289.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9467/0.9467, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 99.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3778, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5641/0.9418, allocations: 198.9 MB / 0.9612 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.9542, allocations: 10.36 MB / 0.9713 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.956, allocations: 59.09 kB / 0.9714 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.9576, allocations: 0.5894 MB / 0.972 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.9628, allocations: 2.054 MB / 0.974 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.9665, allocations: 1.381 MB / 0.9753 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.9701, allocations: 2.826 MB / 0.9781 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.9719, allocations: 1.173 MB / 0.9792 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.9759, allocations: 1.73 MB / 0.9809 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001755/0.9777, allocations: 0.957 MB / 0.9819 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.978, allocations: 118.5 kB / 0.982 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004232/0.9823, allocations: 2.165 MB / 0.9841 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.9828, allocations: 428.2 kB / 0.9845 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.984, allocations: 0.7099 MB / 0.9852 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004206/0.9883, allocations: 2.529 MB / 0.9877 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9883, allocations: 0 / 0.9877 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9883, allocations: 1.031 kB / 0.9877 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.062e-05/0.9883, allocations: 0 / 0.9877 GB, free: 1.246 MB / 0.7169 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.003142/0.9915, allocations: 1.819 MB / 0.9894 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.9915, allocations: 9.125 kB / 0.9894 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.9937, allocations: 369.5 kB / 0.9898 GB, free: 16.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.9953, allocations: 0.9697 MB / 0.9907 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.9953, allocations: 80.03 kB / 0.9908 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.9955, allocations: 103.7 kB / 0.9909 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.997, allocations: 1.108 MB / 0.992 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.9971, allocations: 7.5 kB / 0.992 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.9972, allocations: 42.56 kB / 0.9921 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.9972, allocations: 39.22 kB / 0.9921 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.9985, allocations: 0.8112 MB / 0.9929 GB, free: 15.63 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting 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/1.004, allocations: 5.066 MB / 0.9978 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/1.005, allocations: 0.6976 MB / 0.9985 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/1.005, allocations: 365.2 kB / 0.9989 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/1.006, allocations: 318.8 kB / 0.9992 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.006, allocations: 38 kB / 0.9992 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/1.006, allocations: 3.938 kB / 0.9992 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001763/1.008, allocations: 0.9408 MB / 1 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/1.008, allocations: 60.19 kB / 1 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/1.009, allocations: 0.8778 MB / 1.001 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/1.009, allocations: 40.73 kB / 1.001 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/1.009, allocations: 0.5588 MB / 1.002 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/1.009, allocations: 251.5 kB / 1.002 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.009, allocations: 143.2 kB / 1.002 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.009, allocations: 336.6 kB / 1.002 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/1.01, allocations: 257.8 kB / 1.003 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/1.01, allocations: 452.5 kB / 1.003 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/1.011, allocations: 0.7071 MB / 1.004 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.011, allocations: 1 kB / 1.004 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001262/1.013, allocations: 0.8358 MB / 1.005 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.013, allocations: 6.969 kB / 1.005 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.013, allocations: 10.77 kB / 1.005 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.013, allocations: 9.562 kB / 1.005 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/1.014, allocations: 260.1 kB / 1.005 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/1.016, allocations: 1.488 MB / 1.006 GB, free: 9.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/1.016, allocations: 89.92 kB / 1.006 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.017, allocations: 33.44 kB / 1.006 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006923/1.017, allocations: 478.7 kB / 1.007 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005685/1.018, allocations: 444.8 kB / 1.007 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009572/1.019, allocations: 0.7086 MB / 1.008 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/1.019, allocations: 2.188 kB / 1.008 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001237/1.02, allocations: 0.8353 MB / 1.009 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/1.02, allocations: 13.53 kB / 1.009 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.02, allocations: 6.125 kB / 1.009 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/1.02, allocations: 7.656 kB / 1.009 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/1.022, allocations: 264 kB / 1.009 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/1.023, allocations: 1.492 MB / 1.01 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/1.024, allocations: 59.72 kB / 1.011 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/1.024, allocations: 32.91 kB / 1.011 GB, free: 7.336 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002178/1.024, allocations: 231.5 kB / 1.011 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.024, allocations: 115.6 kB / 1.011 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/1.026, allocations: 0.7883 MB / 1.012 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/1.027, allocations: 0.7155 MB / 1.012 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.027, allocations: 0.75 kB / 1.012 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/1.027, allocations: 256.2 kB / 1.013 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.028, allocations: 22.47 kB / 1.013 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/1.028, allocations: 18.39 kB / 1.013 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/1.028, allocations: 42.34 kB / 1.013 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001708/1.03, allocations: 0.823 MB / 1.013 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001642/1.032, allocations: 1.267 MB / 1.015 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004413/1.032, allocations: 313 kB / 1.015 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006419/1.033, allocations: 0.5999 MB / 1.016 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of Backend: time 4.4e-07/1.033, allocations: 0 / 1.016 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004517/1.037, allocations: 1.501 MB / 1.017 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004064/1.041, allocations: 2.795 MB / 1.02 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of Templates: time 0.03889/1.08, allocations: 25.55 MB / 1.045 GB, free: 6.812 MB / 0.7481 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)