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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5702/0.5702, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.807/1.807, allocations: 223.1 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 91.16 kB / 427.3 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003986/0.000399, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2024, allocations: 72.3 MB / 0.5689 GB, free: 1.867 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.735/5.938, allocations: 1.855 GB / 2.423 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004286/5.938, allocations: 97.52 kB / 2.424 GB, free: 172.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 11.79/17.72, allocations: 2.839 GB / 5.262 GB, free: 51.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.538e-06/17.72, allocations: 0 / 5.262 GB, free: 51.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000378/17.72, allocations: 73.17 kB / 5.262 GB, free: 51.86 MB / 0.7292 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.01847/17.74, allocations: 3.91 MB / 5.266 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/17.74, allocations: 10.44 kB / 5.266 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001728/17.74, allocations: 304.3 kB / 5.266 GB, free: 50.13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/17.76, allocations: 1.197 MB / 5.268 GB, free: 49.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009258/17.76, allocations: 2.59 MB / 5.27 GB, free: 49.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001382/17.77, allocations: 438.3 kB / 5.271 GB, free: 49.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/17.77, allocations: 221.8 kB / 5.271 GB, free: 49.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007073/17.77, allocations: 3.126 MB / 5.274 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/17.77, allocations: 9.375 kB / 5.274 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/17.77, allocations: 93.27 kB / 5.274 GB, free: 49.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/17.77, allocations: 92.2 kB / 5.274 GB, free: 49.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00717/17.78, allocations: 3.224 MB / 5.277 GB, free: 48.98 MB / 0.7292 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.02724/17.81, allocations: 14.08 MB / 5.291 GB, free: 41.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/17.81, allocations: 1.721 MB / 5.293 GB, free: 41.44 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/17.81, allocations: 323.7 kB / 5.293 GB, free: 41.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/17.81, allocations: 52.5 kB / 5.293 GB, free: 41.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002144/17.82, allocations: 211.5 kB / 5.293 GB, free: 41.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 6.733e-06/17.82, allocations: 2.578 kB / 5.293 GB, free: 41.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.005766/17.82, allocations: 2.39 MB / 5.296 GB, free: 40.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/17.82, allocations: 62.28 kB / 5.296 GB, free: 40.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004345/17.83, allocations: 2.248 MB / 5.298 GB, free: 40.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00043/17.83, allocations: 56.61 kB / 5.298 GB, free: 40.54 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/17.83, allocations: 1.271 MB / 5.299 GB, free: 40.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/17.83, allocations: 398.6 kB / 5.299 GB, free: 39.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/17.83, allocations: 35.53 kB / 5.299 GB, free: 39.83 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000121/17.83, allocations: 371 kB / 5.3 GB, free: 39.53 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/17.83, allocations: 0.992 MB / 5.301 GB, free: 39.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/17.83, allocations: 1.67 MB / 5.302 GB, free: 38.76 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/17.84, allocations: 1.209 MB / 5.304 GB, free: 38.67 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/17.84, allocations: 5.906 kB / 5.304 GB, free: 38.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007281/17.84, allocations: 2.886 MB / 5.306 GB, free: 38.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001674/17.85, allocations: 5.781 MB / 5.312 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/17.85, allocations: 13.16 kB / 5.312 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.509e-05/17.85, allocations: 22.84 kB / 5.312 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/17.85, allocations: 0.5585 MB / 5.313 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/17.85, allocations: 2.39 MB / 5.315 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005727/17.86, allocations: 470.6 kB / 5.315 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006422/17.86, allocations: 94.03 kB / 5.316 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/17.86, allocations: 3 kB / 5.316 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006816/17.86, allocations: 2.646 MB / 5.318 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-05/17.86, allocations: 14.12 kB / 5.318 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.692e-05/17.86, allocations: 25.16 kB / 5.318 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/17.87, allocations: 0.5376 MB / 5.319 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.048e-05/17.87, allocations: 32.84 kB / 5.319 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004346/17.87, allocations: 405.7 kB / 5.319 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002914/17.87, allocations: 94.66 kB / 5.319 GB, free: 29.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001937/17.87, allocations: 0.6331 MB / 5.32 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/17.87, allocations: 257.2 kB / 5.32 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/17.88, allocations: 1.869 MB / 5.322 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/17.88, allocations: 10.56 kB / 5.322 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/17.88, allocations: 0 / 5.322 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/17.88, allocations: 16.61 kB / 5.322 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00985/17.89, allocations: 4.498 MB / 5.326 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/17.89, allocations: 6.312 kB / 5.326 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/17.89, allocations: 321.5 kB / 5.327 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/17.89, allocations: 10.41 kB / 5.327 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/17.89, allocations: 33.06 kB / 5.327 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007633/17.89, allocations: 2.368 MB / 5.329 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/17.89, allocations: 7.688 kB / 5.329 GB, free: 26.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/17.9, allocations: 2.495 MB / 5.331 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/17.9, allocations: 0.5386 MB / 5.332 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005812/17.9, allocations: 30.33 kB / 5.332 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/17.9, allocations: 278 kB / 5.332 GB, free: 25.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/17.9, allocations: 87.67 kB / 5.332 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/17.9, allocations: 62.53 kB / 5.332 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003525/17.9, allocations: 1.747 MB / 5.334 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/17.9, allocations: 2.5 kB / 5.334 GB, free: 24.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01056/17.92, allocations: 1.937 MB / 5.336 GB, free: 24.76 MB / 0.7292 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01955/17.94, allocations: 12 MB / 5.348 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00989/17.95, allocations: 3.668 MB / 5.351 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/17.95, allocations: 6.938 kB / 5.351 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002017/17.95, allocations: 0.8149 MB / 5.352 GB, free: 17.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006959/17.95, allocations: 1.2 MB / 5.353 GB, free: 17.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/17.97, allocations: 16.4 MB / 5.369 GB, free: 19.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/17.98, allocations: 1.746 MB / 5.371 GB, free: 18.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004747/17.98, allocations: 0.7904 MB / 5.372 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/17.98, allocations: 1.011 MB / 5.373 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/17.98, allocations: 4 kB / 5.373 GB, free: 18.57 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.117/19.1, allocations: 151.1 MB / 5.52 GB, free: 60.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/19.1, allocations: 262.1 kB / 5.52 GB, free: 59.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/26.93, allocations: 5.031 kB / 5.52 GB, free: 59.9 MB / 0.7605 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/linux/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)