Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.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.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") translateModel(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001127/0.001127, allocations: 187 kB / 17.34 MB, free: 5.742 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002434, allocations: 286.5 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 1.006/1.006, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 95.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.49, allocations: 86.97 MB / 0.767 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.2007/0.6907, allocations: 173 MB / 0.936 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007262/0.698, allocations: 4.243 MB / 0.9401 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008458/0.6989, allocations: 23.88 kB / 0.9402 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009764/0.6999, allocations: 334 kB / 0.9405 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.7026, allocations: 1.104 MB / 0.9416 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.7044, allocations: 0.6608 MB / 0.9422 GB, free: 24 kB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.7062, allocations: 1.425 MB / 0.9436 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.7069, allocations: 467.5 kB / 0.944 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.7081, allocations: 0.6367 MB / 0.9447 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.7093, allocations: 437.4 kB / 0.9451 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.7094, allocations: 44 kB / 0.9451 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.7118, allocations: 1.22 MB / 0.9463 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.7121, allocations: 195.4 kB / 0.9465 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.7124, allocations: 322.4 kB / 0.9468 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.7143, allocations: 1.2 MB / 0.948 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7143, allocations: 0 / 0.948 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7143, allocations: 4 kB / 0.948 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.7143, allocations: 3.938 kB / 0.948 GB, free: 10.08 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001375/0.7157, allocations: 0.9346 MB / 0.9489 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7157, allocations: 8.031 kB / 0.9489 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.7169, allocations: 183.1 kB / 0.9491 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007575/0.7177, allocations: 0.5168 MB / 0.9496 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.7177, allocations: 32.98 kB / 0.9496 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.7178, allocations: 36 kB / 0.9497 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006711/0.7185, allocations: 390.4 kB / 0.95 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.7185, allocations: 0 / 0.95 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.7185, allocations: 16 kB / 0.95 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.7186, allocations: 13 kB / 0.9501 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005375/0.7191, allocations: 315.8 kB / 0.9504 GB, free: 7.566 MB / 0.7169 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.002134/0.7212, allocations: 1.633 MB / 0.9519 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.7217, allocations: 259.1 kB / 0.9522 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.7219, allocations: 136.8 kB / 0.9523 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.7221, allocations: 97.03 kB / 0.9524 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.7222, allocations: 34.56 kB / 0.9525 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.7222, allocations: 4 kB / 0.9525 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.0009004/0.7231, allocations: 392.8 kB / 0.9528 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.7231, allocations: 55.41 kB / 0.9529 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.7236, allocations: 425.9 kB / 0.9533 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.7237, allocations: 33.7 kB / 0.9533 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.7239, allocations: 275.8 kB / 0.9536 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/0.7239, allocations: 90.75 kB / 0.9537 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.7241, allocations: 65.88 kB / 0.9537 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7242, allocations: 346.8 kB / 0.9541 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.7244, allocations: 105.9 kB / 0.9542 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.7247, allocations: 190.7 kB / 0.9543 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000405/0.7251, allocations: 276.3 kB / 0.9546 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7251, allocations: 0 / 0.9546 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005399/0.7256, allocations: 348.9 kB / 0.9549 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.7257, allocations: 4 kB / 0.9549 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.7257, allocations: 224 / 0.9549 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7257, allocations: 11.98 kB / 0.955 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.726, allocations: 55.92 kB / 0.955 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.726, allocations: 4 kB / 0.955 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.7264, allocations: 35.73 kB / 0.955 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.7265, allocations: 15.98 kB / 0.9551 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003354/0.7268, allocations: 255.3 kB / 0.9553 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002405/0.7271, allocations: 185.9 kB / 0.9555 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003767/0.7275, allocations: 281 kB / 0.9558 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.7275, allocations: 0 / 0.9558 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0005013/0.728, allocations: 341 kB / 0.9561 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.728, allocations: 11.92 kB / 0.9561 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.728, allocations: 4 kB / 0.9561 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.728, allocations: 4 kB / 0.9561 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.7283, allocations: 51.92 kB / 0.9561 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.7283, allocations: 7.938 kB / 0.9562 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.7287, allocations: 27.83 kB / 0.9562 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.7287, allocations: 15.98 kB / 0.9562 GB, free: 1.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.7289, allocations: 200.2 kB / 0.9564 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.7289, allocations: 51.38 kB / 0.9564 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.7295, allocations: 305.4 kB / 0.9567 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7295, allocations: 4 kB / 0.9567 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7295, allocations: 3.984 kB / 0.9567 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000461/0.73, allocations: 490.5 kB / 0.9572 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4342/1.164, allocations: 0.9061 MB / 0.9581 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.164, allocations: 1.781 kB / 0.9581 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/1.165, allocations: 67.61 kB / 0.9582 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/1.165, allocations: 5.344 kB / 0.9582 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/1.165, allocations: 9.609 kB / 0.9582 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/1.165, allocations: 3.281 kB / 0.9582 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.165, allocations: 5.906 kB / 0.9582 GB, free: 191.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009037/1.166, allocations: 0.5417 MB / 0.9587 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/1.166, allocations: 150.9 kB / 0.9588 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/1.166, allocations: 11.75 kB / 0.9589 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/1.166, allocations: 12.86 kB / 0.9589 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/1.166, allocations: 21.5 kB / 0.9589 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/1.166, allocations: 13.41 kB / 0.9589 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004875/1.167, allocations: 299 kB / 0.9592 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/1.167, allocations: 0.5 kB / 0.9592 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001025/1.168, allocations: 264.1 kB / 0.9594 GB, free: 190.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004762/1.168, allocations: 185.9 kB / 0.9596 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009569/1.169, allocations: 396.7 kB / 0.96 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.169, allocations: 0.7812 kB / 0.96 GB, free: 190.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/1.17, allocations: 125.3 kB / 0.9601 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.171, allocations: 290.9 kB / 0.9604 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/1.173, allocations: 1.054 MB / 0.9614 GB, free: 189.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/1.173, allocations: 0.8667 MB / 0.9623 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.173, allocations: 44.19 kB / 0.9623 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/1.173, allocations: 4 kB / 0.9623 GB, free: 188.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.01288/1.186, allocations: 7.788 MB / 0.9699 GB, free: 186.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.sim & ./BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible.pipe 2>&1)