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.00124/0.00124, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5489/0.5489, allocations: 90.81 MB / 104.5 MB, free: 13.91 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.715/1.715, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.001024/0.001024, allocations: 95.94 kB / 421.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.853e-05, allocations: 4 kB / 0.4897 GB, free: 46.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1537, allocations: 72.3 MB / 0.5603 GB, free: 6.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.352/4.506, allocations: 1.854 GB / 2.415 GB, free: 44.61 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/4.507, allocations: 89.12 kB / 2.415 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 11.48/15.98, allocations: 2.837 GB / 5.251 GB, free: 54.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/15.98, allocations: 0 / 5.251 GB, free: 54.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004983/15.98, allocations: 71.72 kB / 5.251 GB, free: 54.31 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.01394/16, allocations: 3.495 MB / 5.255 GB, free: 53.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/16, allocations: 13.39 kB / 5.255 GB, free: 53.04 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001199/16, allocations: 294.3 kB / 5.255 GB, free: 52.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/16.01, allocations: 1.199 MB / 5.256 GB, free: 52.82 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008662/16.02, allocations: 2.576 MB / 5.259 GB, free: 52.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001464/16.02, allocations: 433.5 kB / 5.259 GB, free: 52.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/16.02, allocations: 226 kB / 5.259 GB, free: 52.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007949/16.03, allocations: 2.827 MB / 5.262 GB, free: 52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.372e-05/16.03, allocations: 6.766 kB / 5.262 GB, free: 52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006953/16.03, allocations: 92.5 kB / 5.262 GB, free: 52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/16.03, allocations: 93.52 kB / 5.262 GB, free: 51.99 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/16.03, allocations: 2.65 MB / 5.265 GB, free: 51.96 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.02639/16.06, allocations: 14.07 MB / 5.279 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/16.06, allocations: 1.424 MB / 5.28 GB, free: 44.46 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009359/16.07, allocations: 0.6433 MB / 5.281 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/16.07, allocations: 323.6 kB / 5.281 GB, free: 44.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/16.07, allocations: 52.56 kB / 5.281 GB, free: 44.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001931/16.07, allocations: 212.6 kB / 5.281 GB, free: 44.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 6.021e-06/16.07, allocations: 9.438 kB / 5.281 GB, free: 44.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.002682/16.07, allocations: 1.441 MB / 5.283 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/16.07, allocations: 65.5 kB / 5.283 GB, free: 43.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/16.07, allocations: 2.097 MB / 5.285 GB, free: 43.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/16.07, allocations: 52.61 kB / 5.285 GB, free: 43.51 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000951/16.07, allocations: 1.279 MB / 5.286 GB, free: 43.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002728/16.08, allocations: 389.1 kB / 5.287 GB, free: 42.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/16.08, allocations: 38.69 kB / 5.287 GB, free: 42.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001238/16.08, allocations: 370.2 kB / 5.287 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/16.08, allocations: 0.7092 MB / 5.288 GB, free: 42.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/16.08, allocations: 1.385 MB / 5.289 GB, free: 41.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/16.08, allocations: 0.9405 MB / 5.29 GB, free: 41.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/16.08, allocations: 3.312 kB / 5.29 GB, free: 41.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003913/16.08, allocations: 2.323 MB / 5.292 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00125/16.08, allocations: 5.779 MB / 5.298 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/16.08, allocations: 13.59 kB / 5.298 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.857e-05/16.08, allocations: 28.84 kB / 5.298 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002924/16.09, allocations: 0.5585 MB / 5.298 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/16.09, allocations: 2.39 MB / 5.301 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004542/16.09, allocations: 471.4 kB / 5.301 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/16.09, allocations: 99.33 kB / 5.301 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/16.09, allocations: 4.125 kB / 5.301 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003611/16.1, allocations: 2.079 MB / 5.303 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/16.1, allocations: 13.16 kB / 5.303 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.101e-05/16.1, allocations: 23.59 kB / 5.303 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002417/16.1, allocations: 0.5382 MB / 5.304 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/16.1, allocations: 30.2 kB / 5.304 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/16.1, allocations: 391.3 kB / 5.304 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/16.1, allocations: 98.53 kB / 5.304 GB, free: 32.8 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 () * 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.0007907/16.1, allocations: 224 kB / 5.305 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/16.11, allocations: 260.7 kB / 5.305 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/16.11, allocations: 1.572 MB / 5.306 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/16.11, allocations: 11.75 kB / 5.306 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/16.11, allocations: 4.562 kB / 5.306 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/16.11, allocations: 6.562 kB / 5.306 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/16.12, allocations: 4.195 MB / 5.31 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/16.12, allocations: 5.969 kB / 5.31 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/16.12, allocations: 311 kB / 5.311 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/16.12, allocations: 10.09 kB / 5.311 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/16.12, allocations: 37.08 kB / 5.311 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007768/16.12, allocations: 2.374 MB / 5.313 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/16.12, allocations: 15.75 kB / 5.313 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/16.12, allocations: 2.194 MB / 5.315 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/16.12, allocations: 0.5422 MB / 5.316 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/16.13, allocations: 27.52 kB / 5.316 GB, free: 28.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00251/16.13, allocations: 281.5 kB / 5.316 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/16.13, allocations: 81.67 kB / 5.316 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/16.13, allocations: 63.44 kB / 5.316 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002502/16.13, allocations: 1.593 MB / 5.318 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.5e-07/16.13, allocations: 0 / 5.318 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00765/16.14, allocations: 1.945 MB / 5.32 GB, free: 27.81 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 () * 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.01554/16.15, allocations: 11.71 MB / 5.331 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006569/16.16, allocations: 3.04 MB / 5.334 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-05/16.16, allocations: 2.812 kB / 5.334 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/16.16, allocations: 0.6639 MB / 5.335 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008026/16.17, allocations: 1.201 MB / 5.336 GB, free: 20.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/16.18, allocations: 3.755 MB / 5.34 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/16.18, allocations: 1.749 MB / 5.341 GB, free: 18.46 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005313/16.19, allocations: 0.9807 MB / 5.342 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/16.19, allocations: 0.9678 MB / 5.343 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.553e-06/16.19, allocations: 0 / 5.343 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9527/17.14, allocations: 169.8 MB / 5.509 GB, free: 96.33 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/17.14, allocations: 227.5 kB / 5.509 GB, free: 96.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/25.21, allocations: 3.875 kB / 5.509 GB, free: 96.11 MB / 0.7761 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)