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.001472/0.001472, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001646/0.001646, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.32/1.32, allocations: 222.9 MB / 241 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.002355/0.002354, allocations: 283.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9684/0.9684, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 99.83 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3932, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.5699/0.9632, allocations: 198.8 MB / 0.9612 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01317/0.9764, allocations: 10.36 MB / 0.9714 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.9779, allocations: 57.53 kB / 0.9714 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.9793, allocations: 0.5701 MB / 0.972 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.9835, allocations: 1.978 MB / 0.9739 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.9866, allocations: 1.382 MB / 0.9752 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.9895, allocations: 2.814 MB / 0.978 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.9908, allocations: 1.172 MB / 0.9791 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.9942, allocations: 1.693 MB / 0.9808 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.9955, allocations: 0.9682 MB / 0.9817 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.9957, allocations: 119.8 kB / 0.9819 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.9992, allocations: 2.146 MB / 0.9839 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.9995, allocations: 436.7 kB / 0.9844 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/1, allocations: 0.7119 MB / 0.9851 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/1.003, allocations: 2.522 MB / 0.9875 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.003, allocations: 2.531 kB / 0.9875 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/1.003, allocations: 4.938 kB / 0.9875 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.532e-05/1.003, allocations: 3.188 kB / 0.9875 GB, free: 1.25 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.002478/1.006, allocations: 1.815 MB / 0.9893 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/1.006, allocations: 8.281 kB / 0.9893 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/1.008, allocations: 372.8 kB / 0.9897 GB, free: 16.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/1.009, allocations: 0.9709 MB / 0.9906 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.113e-05/1.009, allocations: 79.38 kB / 0.9907 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/1.01, allocations: 104.9 kB / 0.9908 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.011, allocations: 1.107 MB / 0.9919 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/1.011, allocations: 4.375 kB / 0.9919 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/1.011, allocations: 42.66 kB / 0.9919 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-05/1.011, allocations: 37.31 kB / 0.992 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.013, allocations: 0.8161 MB / 0.9927 GB, free: 15.64 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.004924/1.018, allocations: 5.061 MB / 0.9977 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/1.019, allocations: 0.6992 MB / 0.9984 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/1.019, allocations: 363.1 kB / 0.9987 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/1.02, allocations: 321.5 kB / 0.999 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/1.02, allocations: 40.62 kB / 0.9991 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 2.234e-06/1.02, allocations: 0 / 0.9991 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001742/1.021, allocations: 0.9378 MB / 1 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/1.022, allocations: 57 kB / 1 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/1.022, allocations: 0.8849 MB / 1.001 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/1.022, allocations: 39.05 kB / 1.001 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/1.023, allocations: 0.5562 MB / 1.001 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/1.023, allocations: 253.3 kB / 1.002 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/1.023, allocations: 140.9 kB / 1.002 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.023, allocations: 336.1 kB / 1.002 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/1.024, allocations: 260.3 kB / 1.002 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005422/1.024, allocations: 451.7 kB / 1.003 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/1.025, allocations: 0.7058 MB / 1.004 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.025, allocations: 0 / 1.004 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001264/1.027, allocations: 0.8372 MB / 1.004 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.027, allocations: 10.47 kB / 1.004 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.027, allocations: 5.531 kB / 1.004 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.027, allocations: 8.812 kB / 1.004 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.028, allocations: 260.2 kB / 1.005 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/1.03, allocations: 1.497 MB / 1.006 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007188/1.03, allocations: 84.16 kB / 1.006 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/1.03, allocations: 31.59 kB / 1.006 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006721/1.031, allocations: 479.8 kB / 1.007 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005445/1.032, allocations: 451.9 kB / 1.007 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009579/1.033, allocations: 0.7093 MB / 1.008 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/1.033, allocations: 1.812 kB / 1.008 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001197/1.034, allocations: 0.8346 MB / 1.009 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/1.034, allocations: 6.688 kB / 1.009 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.034, allocations: 4.406 kB / 1.009 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/1.034, allocations: 13.28 kB / 1.009 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/1.035, allocations: 260.7 kB / 1.009 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/1.037, allocations: 1.493 MB / 1.01 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/1.037, allocations: 65.83 kB / 1.01 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/1.037, allocations: 27.91 kB / 1.01 GB, free: 7.348 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.000202/1.037, allocations: 234.3 kB / 1.011 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/1.038, allocations: 115.7 kB / 1.011 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/1.039, allocations: 0.7896 MB / 1.012 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001287/1.041, allocations: 0.7091 MB / 1.012 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.041, allocations: 7.344 kB / 1.012 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/1.041, allocations: 256.1 kB / 1.012 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.041, allocations: 14.56 kB / 1.012 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/1.042, allocations: 23.42 kB / 1.013 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/1.042, allocations: 43.48 kB / 1.013 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001665/1.043, allocations: 0.823 MB / 1.013 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001616/1.045, allocations: 1.264 MB / 1.015 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004348/1.045, allocations: 321.5 kB / 1.015 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006799/1.046, allocations: 0.5983 MB / 1.015 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of Backend: time 3.81e-07/1.046, allocations: 0 / 1.015 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004803/1.051, allocations: 1.503 MB / 1.017 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of SimCode: time 0.004152/1.055, allocations: 2.785 MB / 1.02 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of Templates: time 0.03812/1.093, allocations: 25.55 MB / 1.045 GB, free: 6.875 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)