Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 114 kB / 17.08 MB, free: 5.965 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.0012/0.0012, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.325/1.325, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7313/0.7313, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 66.55 kB / 0.5584 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1612, allocations: 76.18 MB / 0.6328 GB, free: 4.48 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6986/0.8598, allocations: 328.4 MB / 0.9534 GB, free: 3.684 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03827/0.8982, allocations: 30.08 MB / 0.9828 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004894/0.9031, allocations: 99.44 kB / 0.9829 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006529/0.9097, allocations: 2.089 MB / 0.9849 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.9243, allocations: 4.977 MB / 0.9898 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009877/0.9341, allocations: 3.652 MB / 0.9934 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.9453, allocations: 6.961 MB / 1 GB, free: 3.715 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004697/0.95, allocations: 2.859 MB / 1.003 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/0.9643, allocations: 5.341 MB / 1.008 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005392/0.9697, allocations: 2.417 MB / 1.011 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001411/0.9711, allocations: 292 kB / 1.011 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.9818, allocations: 4.805 MB / 1.016 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.9838, allocations: 1.067 MB / 1.017 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003944/0.9878, allocations: 1.738 MB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/1, allocations: 5.753 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/1, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001695/1.001, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.009989/1.011, allocations: 3.696 MB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.011, allocations: 12.03 kB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009592/1.02, allocations: 1.464 MB / 1.029 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005344/1.026, allocations: 2.081 MB / 1.031 GB, free: 3.934 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/1.026, allocations: 176.1 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007513/1.027, allocations: 212 kB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007489/1.034, allocations: 3.035 MB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.965e-05/1.034, allocations: 8 kB / 1.034 GB, free: 380 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/1.035, allocations: 87.98 kB / 1.034 GB, free: 292 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.035, allocations: 92 kB / 1.034 GB, free: 196 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007427/1.042, allocations: 3.107 MB / 1.037 GB, free: 13.07 MB / 0.795 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.3536/1.396, allocations: 14 MB / 1.051 GB, free: 321.9 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/1.4, allocations: 1.658 MB / 1.053 GB, free: 321.8 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.402, allocations: 0.7753 MB / 1.054 GB, free: 321.8 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005392/1.402, allocations: 327 kB / 1.054 GB, free: 321.5 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/1.402, allocations: 53.8 kB / 1.054 GB, free: 321.5 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001177/1.404, allocations: 197.2 kB / 1.054 GB, free: 321.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 4.408e-06/1.404, allocations: 3.391 kB / 1.054 GB, free: 321.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.006194/1.41, allocations: 2.356 MB / 1.056 GB, free: 321 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/1.41, allocations: 65.27 kB / 1.056 GB, free: 321 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/1.414, allocations: 2.518 MB / 1.059 GB, free: 320.1 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003592/1.414, allocations: 54.83 kB / 1.059 GB, free: 320 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.415, allocations: 1.265 MB / 1.06 GB, free: 319.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/1.416, allocations: 384.2 kB / 1.061 GB, free: 318.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009228/1.417, allocations: 387.4 kB / 1.061 GB, free: 318.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 6.148e-05/1.417, allocations: 306.9 kB / 1.061 GB, free: 318.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/1.42, allocations: 0.9462 MB / 1.062 GB, free: 318.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003122/1.423, allocations: 1.568 MB / 1.064 GB, free: 317.1 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.428, allocations: 2.228 MB / 1.066 GB, free: 315.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.428, allocations: 3.438 kB / 1.066 GB, free: 315.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.0075/1.436, allocations: 2.747 MB / 1.069 GB, free: 315 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/1.436, allocations: 72.84 kB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/1.436, allocations: 13.59 kB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/1.436, allocations: 21 kB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/1.439, allocations: 0.5456 MB / 1.069 GB, free: 314.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008685/1.44, allocations: 2.393 MB / 1.072 GB, free: 312.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/1.443, allocations: 288.7 kB / 1.072 GB, free: 312.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.443, allocations: 91.81 kB / 1.072 GB, free: 312.4 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003001/1.446, allocations: 1.384 MB / 1.073 GB, free: 311.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00236/1.448, allocations: 1.567 MB / 1.075 GB, free: 310.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003747/1.452, allocations: 2.215 MB / 1.077 GB, free: 309.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.587e-06/1.452, allocations: 3.969 kB / 1.077 GB, free: 309.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.005678/1.458, allocations: 2.738 MB / 1.08 GB, free: 308.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.643e-05/1.458, allocations: 80.55 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.458, allocations: 11.88 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.458, allocations: 23.78 kB / 1.08 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/1.46, allocations: 0.4961 MB / 1.08 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.643e-05/1.46, allocations: 35.39 kB / 1.08 GB, free: 308.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.463, allocations: 294.6 kB / 1.081 GB, free: 308.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.464, allocations: 85.7 kB / 1.081 GB, free: 308.4 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000546/1.464, allocations: 293 kB / 1.081 GB, free: 308.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006232/1.465, allocations: 264.6 kB / 1.081 GB, free: 308 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/1.469, allocations: 1.851 MB / 1.083 GB, free: 307 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.469, allocations: 11.08 kB / 1.083 GB, free: 307 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.469, allocations: 4 kB / 1.083 GB, free: 307 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.469, allocations: 5.609 kB / 1.083 GB, free: 307 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007601/1.476, allocations: 4.492 MB / 1.087 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.476, allocations: 3.5 kB / 1.087 GB, free: 304.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.478, allocations: 312.5 kB / 1.088 GB, free: 304.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/1.478, allocations: 7.312 kB / 1.088 GB, free: 304.1 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.322e-05/1.478, allocations: 34.64 kB / 1.088 GB, free: 304.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006937/1.479, allocations: 2.37 MB / 1.09 GB, free: 301.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.479, allocations: 6.938 kB / 1.09 GB, free: 301.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/1.483, allocations: 1.976 MB / 1.092 GB, free: 299.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/1.484, allocations: 0.5251 MB / 1.092 GB, free: 299.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006544/1.485, allocations: 35.78 kB / 1.092 GB, free: 299.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/1.487, allocations: 180.9 kB / 1.093 GB, free: 299 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/1.487, allocations: 76.8 kB / 1.093 GB, free: 298.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.487, allocations: 63.94 kB / 1.093 GB, free: 298.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002426/1.49, allocations: 1.731 MB / 1.094 GB, free: 297.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.9e-07/1.49, allocations: 0 / 1.094 GB, free: 297.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003412/1.493, allocations: 1.29 MB / 1.096 GB, free: 295.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008117/1.494, allocations: 378 kB / 1.096 GB, free: 295.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007573/1.502, allocations: 3.552 MB / 1.1 GB, free: 291.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.502, allocations: 4 kB / 1.1 GB, free: 291.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/1.503, allocations: 0.8074 MB / 1.1 GB, free: 291.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006001/1.509, allocations: 1.207 MB / 1.102 GB, free: 290 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/1.516, allocations: 4.338 MB / 1.106 GB, free: 285.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008864/1.517, allocations: 1.68 MB / 1.107 GB, free: 283.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.518, allocations: 219.3 kB / 1.108 GB, free: 283.6 MB / 0.795 GB Notification: Performance of SimCode: time 2.395e-06/1.518, allocations: 0 / 1.108 GB, free: 283.6 MB / 0.795 GB Notification: Performance of Templates: time 0.0724/1.591, allocations: 86.48 MB / 1.192 GB, free: 197.4 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)