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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 103.6 kB / 16.4 MB, free: 6.457 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.001226/0.001226, allocations: 189.3 kB / 17.34 MB, free: 5.723 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.516/1.516, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7627/0.7627, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 62.58 kB / 0.5572 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1679, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7662/0.9341, allocations: 328.4 MB / 0.9523 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03991/0.974, allocations: 30.08 MB / 0.9817 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004775/0.9789, allocations: 99.38 kB / 0.9818 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006352/0.9852, allocations: 2.093 MB / 0.9838 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.9999, allocations: 4.983 MB / 0.9887 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009521/1.009, allocations: 3.648 MB / 0.9922 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0123/1.022, allocations: 6.942 MB / 0.999 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/1.027, allocations: 2.875 MB / 1.002 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/1.04, allocations: 5.338 MB / 1.007 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005071/1.045, allocations: 2.422 MB / 1.009 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001105/1.046, allocations: 296 kB / 1.01 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.057, allocations: 4.809 MB / 1.014 GB, free: 4.289 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001884/1.059, allocations: 1.063 MB / 1.015 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003152/1.062, allocations: 1.742 MB / 1.017 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/1.073, allocations: 5.746 MB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.073, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.893e-06/1.073, allocations: 0 / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001159/1.073, allocations: 0 / 1.023 GB, free: 11.71 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.008136/1.082, allocations: 3.704 MB / 1.026 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.082, allocations: 12.03 kB / 1.026 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003846/1.082, allocations: 295.6 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009988/1.092, allocations: 1.46 MB / 1.028 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/1.097, allocations: 2.085 MB / 1.03 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/1.097, allocations: 168.1 kB / 1.03 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005393/1.098, allocations: 220 kB / 1.03 GB, free: 3.598 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006635/1.104, allocations: 3.031 MB / 1.033 GB, free: 440 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/1.105, allocations: 8 kB / 1.033 GB, free: 432 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/1.105, allocations: 84 kB / 1.034 GB, free: 348 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.048e-05/1.105, allocations: 95.94 kB / 1.034 GB, free: 248 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007308/1.112, allocations: 3.103 MB / 1.037 GB, free: 13.12 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.3627/1.475, allocations: 14 MB / 1.05 GB, free: 322.9 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/1.479, allocations: 1.657 MB / 1.052 GB, free: 322.9 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/1.481, allocations: 0.7729 MB / 1.053 GB, free: 322.9 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006505/1.482, allocations: 326.6 kB / 1.053 GB, free: 322.6 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/1.482, allocations: 56.66 kB / 1.053 GB, free: 322.6 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001409/1.483, allocations: 197.3 kB / 1.053 GB, free: 322.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=110): time 6.301e-06/1.483, allocations: 0.5625 kB / 1.053 GB, free: 322.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=110): time 0.007199/1.491, allocations: 2.36 MB / 1.056 GB, free: 321.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.491, allocations: 63.78 kB / 1.056 GB, free: 321.8 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/1.496, allocations: 2.518 MB / 1.058 GB, free: 320.9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/1.496, allocations: 54.45 kB / 1.058 GB, free: 320.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/1.497, allocations: 1.266 MB / 1.059 GB, free: 319.9 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000608/1.498, allocations: 390.2 kB / 1.06 GB, free: 319.7 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009704/1.499, allocations: 384.2 kB / 1.06 GB, free: 319.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.655e-05/1.499, allocations: 306.4 kB / 1.06 GB, free: 319.2 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0029/1.502, allocations: 0.9431 MB / 1.061 GB, free: 318.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/1.505, allocations: 1.569 MB / 1.063 GB, free: 317.9 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004936/1.51, allocations: 2.227 MB / 1.065 GB, free: 316.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.559e-05/1.51, allocations: 4.312 kB / 1.065 GB, free: 316.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00704/1.517, allocations: 2.754 MB / 1.068 GB, free: 315.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.033e-05/1.517, allocations: 70.19 kB / 1.068 GB, free: 315.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/1.517, allocations: 12.38 kB / 1.068 GB, free: 315.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.878e-05/1.518, allocations: 22 kB / 1.068 GB, free: 315.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.521, allocations: 0.548 MB / 1.068 GB, free: 315.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/1.522, allocations: 2.393 MB / 1.071 GB, free: 313.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005585/1.527, allocations: 280.6 kB / 1.071 GB, free: 313.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004957/1.528, allocations: 89.27 kB / 1.071 GB, free: 313.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005026/1.533, allocations: 1.386 MB / 1.072 GB, free: 312.7 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00412/1.537, allocations: 1.564 MB / 1.074 GB, free: 311.7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006297/1.544, allocations: 2.219 MB / 1.076 GB, free: 310.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.386e-05/1.544, allocations: 0 / 1.076 GB, free: 310.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.00788/1.551, allocations: 2.743 MB / 1.079 GB, free: 309.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.652e-05/1.552, allocations: 71.05 kB / 1.079 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/1.552, allocations: 19.66 kB / 1.079 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.552, allocations: 23.69 kB / 1.079 GB, free: 309.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/1.554, allocations: 0.5019 MB / 1.079 GB, free: 309.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/1.554, allocations: 35.08 kB / 1.079 GB, free: 309.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/1.558, allocations: 287.5 kB / 1.08 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002991/1.558, allocations: 95.08 kB / 1.08 GB, free: 309.2 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.000774/1.559, allocations: 291.3 kB / 1.08 GB, free: 309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/1.559, allocations: 262.7 kB / 1.08 GB, free: 308.9 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.564, allocations: 1.847 MB / 1.082 GB, free: 307.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.564, allocations: 10.53 kB / 1.082 GB, free: 307.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.564, allocations: 1.562 kB / 1.082 GB, free: 307.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.564, allocations: 11.03 kB / 1.082 GB, free: 307.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008967/1.573, allocations: 4.491 MB / 1.086 GB, free: 305 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.573, allocations: 3.875 kB / 1.086 GB, free: 305 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.575, allocations: 307.3 kB / 1.087 GB, free: 304.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.575, allocations: 12.55 kB / 1.087 GB, free: 304.9 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/1.575, allocations: 27.36 kB / 1.087 GB, free: 304.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006905/1.575, allocations: 2.372 MB / 1.089 GB, free: 302.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.576, allocations: 10.62 kB / 1.089 GB, free: 302.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/1.579, allocations: 1.981 MB / 1.091 GB, free: 300.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.581, allocations: 0.525 MB / 1.092 GB, free: 300 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003864/1.581, allocations: 42.36 kB / 1.092 GB, free: 299.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.583, allocations: 173.1 kB / 1.092 GB, free: 299.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/1.584, allocations: 78.97 kB / 1.092 GB, free: 299.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.584, allocations: 67.95 kB / 1.092 GB, free: 299.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002427/1.586, allocations: 1.731 MB / 1.094 GB, free: 297.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/1.586, allocations: 0 / 1.094 GB, free: 297.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003323/1.59, allocations: 1.283 MB / 1.095 GB, free: 296.6 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.004492/1.594, allocations: 2.789 MB / 1.098 GB, free: 293.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008434/1.602, allocations: 3.558 MB / 1.101 GB, free: 290.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/1.603, allocations: 9.328 kB / 1.101 GB, free: 290.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.605, allocations: 0.8139 MB / 1.102 GB, free: 289.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006623/1.611, allocations: 1.196 MB / 1.103 GB, free: 288.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03508/1.646, allocations: 18.73 MB / 1.121 GB, free: 268.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.647, allocations: 1.705 MB / 1.123 GB, free: 267.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003344/1.651, allocations: 0.7827 MB / 1.124 GB, free: 266.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/1.652, allocations: 1.015 MB / 1.125 GB, free: 265.3 MB / 0.795 GB Notification: Performance of SimCode: time 9.82e-07/1.652, allocations: 0 / 1.125 GB, free: 265.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/1.754, allocations: 66.29 MB / 1.19 GB, free: 199.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/20.1, allocations: 14.14 kB / 1.19 GB, free: 199.7 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)