Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_9_Buildings.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.001578/0.001579, allocations: 111.7 kB / 16.42 MB, free: 6.496 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.001776/0.001777, 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8209, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2343/1.055, allocations: 198.9 MB / 1.283 GB, free: 6.766 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.015/1.07, allocations: 10.36 MB / 1.293 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/1.072, allocations: 55.69 kB / 1.293 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/1.074, allocations: 0.5896 MB / 1.294 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/1.08, allocations: 2.057 MB / 1.296 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0038/1.084, allocations: 1.382 MB / 1.297 GB, free: 8.285 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.003837/1.088, allocations: 2.831 MB / 1.3 GB, free: 5.453 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/1.091, allocations: 1.179 MB / 1.301 GB, free: 4.242 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/1.097, allocations: 1.727 MB / 1.303 GB, free: 2.516 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/1.099, allocations: 0.9613 MB / 1.303 GB, free: 1.559 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004788/1.1, allocations: 120 kB / 1.304 GB, free: 1.441 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/1.105, allocations: 2.156 MB / 1.306 GB, free: 15.28 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008104/1.106, allocations: 430.7 kB / 1.306 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/1.107, allocations: 0.7073 MB / 1.307 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005658/1.113, allocations: 2.52 MB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.113, allocations: 3.938 kB / 1.309 GB, free: 11.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/1.113, allocations: 4 kB / 1.309 GB, free: 11.61 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.322e-05/1.113, allocations: 0 / 1.309 GB, free: 11.61 MB / 1.045 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.004069/1.117, allocations: 1.814 MB / 1.311 GB, free: 9.742 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.117, allocations: 8.031 kB / 1.311 GB, free: 9.734 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/1.12, allocations: 369.9 kB / 1.311 GB, free: 9.371 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/1.122, allocations: 0.9675 MB / 1.312 GB, free: 8.359 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/1.122, allocations: 82 kB / 1.312 GB, free: 8.281 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/1.122, allocations: 107.9 kB / 1.313 GB, free: 8.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.124, allocations: 1.099 MB / 1.314 GB, free: 7.016 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.124, allocations: 3.938 kB / 1.314 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/1.124, allocations: 44 kB / 1.314 GB, free: 6.969 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/1.124, allocations: 34 kB / 1.314 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/1.125, allocations: 0.8119 MB / 1.314 GB, free: 6.121 MB / 1.045 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.006247/1.132, allocations: 5.078 MB / 1.319 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/1.133, allocations: 0.6955 MB / 1.32 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/1.134, allocations: 362.1 kB / 1.32 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/1.134, allocations: 307.8 kB / 1.321 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/1.134, allocations: 47.11 kB / 1.321 GB, free: 15.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.324e-06/1.134, allocations: 0 / 1.321 GB, free: 15.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.001972/1.136, allocations: 0.9467 MB / 1.322 GB, free: 14.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.136, allocations: 55.97 kB / 1.322 GB, free: 14.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.137, allocations: 0.8802 MB / 1.323 GB, free: 13.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/1.137, allocations: 37.7 kB / 1.323 GB, free: 13.25 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/1.138, allocations: 0.5622 MB / 1.323 GB, free: 12.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/1.138, allocations: 248.3 kB / 1.323 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.138, allocations: 138.6 kB / 1.324 GB, free: 12.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.138, allocations: 341.9 kB / 1.324 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/1.139, allocations: 252.7 kB / 1.324 GB, free: 11.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/1.139, allocations: 456.1 kB / 1.325 GB, free: 11.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.141, allocations: 0.7054 MB / 1.325 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.141, allocations: 7.938 kB / 1.325 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001471/1.142, allocations: 0.8315 MB / 1.326 GB, free: 9.566 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.142, allocations: 8 kB / 1.326 GB, free: 9.559 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.142, allocations: 4.625 kB / 1.326 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.142, allocations: 8 kB / 1.326 GB, free: 9.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.144, allocations: 271.6 kB / 1.326 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/1.145, allocations: 1.496 MB / 1.328 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007468/1.146, allocations: 83.11 kB / 1.328 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/1.146, allocations: 35.98 kB / 1.328 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007778/1.147, allocations: 478 kB / 1.328 GB, free: 7.055 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006045/1.147, allocations: 443.1 kB / 1.329 GB, free: 6.547 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001079/1.149, allocations: 0.7054 MB / 1.33 GB, free: 5.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.149, allocations: 4 kB / 1.33 GB, free: 5.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001396/1.15, allocations: 0.8397 MB / 1.33 GB, free: 4.922 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.15, allocations: 4 kB / 1.33 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.15, allocations: 8.047 kB / 1.33 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/1.15, allocations: 11.98 kB / 1.33 GB, free: 4.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/1.152, allocations: 259.8 kB / 1.331 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/1.153, allocations: 1.488 MB / 1.332 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007696/1.154, allocations: 68.64 kB / 1.332 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/1.154, allocations: 32 kB / 1.332 GB, free: 2.914 MB / 1.061 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.0002186/1.154, allocations: 236.5 kB / 1.332 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.154, allocations: 110.6 kB / 1.332 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/1.156, allocations: 0.7864 MB / 1.333 GB, free: 1.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/1.157, allocations: 0.7078 MB / 1.334 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.157, allocations: 0 / 1.334 GB, free: 1.027 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/1.157, allocations: 259.4 kB / 1.334 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.158, allocations: 20 kB / 1.334 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/1.158, allocations: 19.98 kB / 1.334 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/1.158, allocations: 40.59 kB / 1.334 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001886/1.16, allocations: 0.8258 MB / 1.335 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001834/1.162, allocations: 1.263 MB / 1.336 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000484/1.163, allocations: 317.1 kB / 1.337 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007559/1.163, allocations: 0.5928 MB / 1.337 GB, free: 13.65 MB / 1.076 GB Notification: Performance of Backend: time 3.9e-07/1.163, allocations: 0 / 1.337 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005136/1.169, allocations: 1.509 MB / 1.339 GB, free: 12.14 MB / 1.076 GB Notification: Performance of SimCode: time 0.004888/1.173, allocations: 2.794 MB / 1.341 GB, free: 9.309 MB / 1.076 GB Notification: Performance of Templates: time 0.04506/1.218, allocations: 25.52 MB / 1.366 GB, free: 28 kB / 1.092 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)