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.0009671/0.0009671, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.004891/0.004891, allocations: 171 kB / 16.27 MB, free: 6.324 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 270.1 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 16.59 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1383, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Airvolumes.Examples.MixingVolumeMoistAirFlexible): time 0.462/0.6004, allocations: 168.5 MB / 0.8497 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006618/0.607, allocations: 4.25 MB / 0.8539 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000523/0.6076, allocations: 21.69 kB / 0.8539 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007751/0.6084, allocations: 283 kB / 0.8541 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.6107, allocations: 1.03 MB / 0.8552 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.6121, allocations: 0.5921 MB / 0.8557 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.6138, allocations: 1.906 MB / 0.8576 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005315/0.6144, allocations: 396.6 kB / 0.858 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009984/0.6154, allocations: 0.5255 MB / 0.8585 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.6165, allocations: 442.8 kB / 0.8589 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.089e-05/0.6166, allocations: 18.88 kB / 0.8589 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.6186, allocations: 1.362 MB / 0.8603 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.6187, allocations: 167.5 kB / 0.8604 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.619, allocations: 305 kB / 0.8607 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.6203, allocations: 1.201 MB / 0.8619 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.6203, allocations: 0 / 0.8619 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6203, allocations: 0 / 0.8619 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6203, allocations: 3.938 kB / 0.8619 GB, free: 6.289 MB / 0.5762 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.00122/0.6216, allocations: 0.8293 MB / 0.8627 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.6216, allocations: 11.25 kB / 0.8627 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.6227, allocations: 172.7 kB / 0.8629 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006572/0.6234, allocations: 0.5047 MB / 0.8634 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.6234, allocations: 29.72 kB / 0.8634 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.6235, allocations: 43.88 kB / 0.8634 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/0.6241, allocations: 384.6 kB / 0.8638 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.6241, allocations: 0 / 0.8638 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.6242, allocations: 21 kB / 0.8638 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.6242, allocations: 14.78 kB / 0.8638 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.6248, allocations: 316.8 kB / 0.8641 GB, free: 4.652 MB / 0.5762 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.002006/0.6268, allocations: 1.645 MB / 0.8657 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.6272, allocations: 245.4 kB / 0.866 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.6274, allocations: 143.1 kB / 0.8661 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.6276, allocations: 90.27 kB / 0.8662 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.6276, allocations: 49.17 kB / 0.8662 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.6276, allocations: 0 / 0.8662 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.0008129/0.6285, allocations: 395.5 kB / 0.8666 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.6285, allocations: 54.41 kB / 0.8667 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.6289, allocations: 423.5 kB / 0.8671 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.629, allocations: 33.02 kB / 0.8671 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.6292, allocations: 267.5 kB / 0.8674 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.6293, allocations: 96.39 kB / 0.8675 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.6293, allocations: 29.73 kB / 0.8675 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6295, allocations: 359.7 kB / 0.8678 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.6297, allocations: 99.67 kB / 0.8679 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.6299, allocations: 189.1 kB / 0.8681 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.6304, allocations: 282.9 kB / 0.8684 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6304, allocations: 0 / 0.8684 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005552/0.6309, allocations: 359.3 kB / 0.8687 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.319e-05/0.631, allocations: 144.2 kB / 0.8688 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.631, allocations: 1.75 kB / 0.8689 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.631, allocations: 3.156 kB / 0.8689 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.6313, allocations: 59.16 kB / 0.8689 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.6313, allocations: 4.594 kB / 0.8689 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.6318, allocations: 47.75 kB / 0.869 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.6318, allocations: 12.81 kB / 0.869 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.6319, allocations: 5.625 kB / 0.869 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004533/0.6323, allocations: 279 kB / 0.8692 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-06/0.6323, allocations: 1.969 kB / 0.8692 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.922e-06/0.6323, allocations: 9.969 kB / 0.8693 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.6326, allocations: 62.28 kB / 0.8693 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.6326, allocations: 3.031 kB / 0.8693 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.6331, allocations: 57.14 kB / 0.8694 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.6331, allocations: 8.812 kB / 0.8694 GB, free: 0.625 MB / 0.5762 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.0002254/0.6333, allocations: 265.2 kB / 0.8696 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.6334, allocations: 53.16 kB / 0.8697 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.634, allocations: 316 kB / 0.87 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.634, allocations: 6.922 kB / 0.87 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.634, allocations: 0 / 0.87 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005033/0.6345, allocations: 495.3 kB / 0.8705 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.6357, allocations: 0.9141 MB / 0.8714 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6358, allocations: 0 / 0.8714 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/0.6361, allocations: 74.95 kB / 0.8714 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.6361, allocations: 2.25 kB / 0.8714 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6362, allocations: 6.875 kB / 0.8714 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6362, allocations: 2.938 kB / 0.8714 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6362, allocations: 3.281 kB / 0.8714 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007368/0.6369, allocations: 0.5655 MB / 0.872 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6371, allocations: 154.5 kB / 0.8721 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.6372, allocations: 10.81 kB / 0.8722 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.6375, allocations: 28.64 kB / 0.8722 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.6376, allocations: 27.94 kB / 0.8722 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.6376, allocations: 5.375 kB / 0.8722 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003004/0.6379, allocations: 303.7 kB / 0.8725 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6379, allocations: 0 / 0.8725 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006709/0.6386, allocations: 257.7 kB / 0.8727 GB, free: 14.18 MB / 0.5919 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.0003611/0.639, allocations: 185.5 kB / 0.8729 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006553/0.6397, allocations: 396 kB / 0.8733 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6397, allocations: 0.875 kB / 0.8733 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.6399, allocations: 135.2 kB / 0.8734 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.6414, allocations: 283.6 kB / 0.8737 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.6431, allocations: 1.29 MB / 0.875 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.6435, allocations: 0.8719 MB / 0.8758 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000452/0.644, allocations: 123.7 kB / 0.8759 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.6441, allocations: 38.5 kB / 0.876 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6441, allocations: 4 kB / 0.876 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.01518/0.6593, allocations: 8.894 MB / 0.8847 GB, free: 3.102 MB / 0.5919 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)