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.001898/0.001898, allocations: 177.5 kB / 8.003 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5304/0.5304, allocations: 90.92 MB / 99.35 MB, free: 2.148 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 221.5 MB / 343.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009232/0.0009232, allocations: 87.33 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.081e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.657/4.797, allocations: 1.854 GB / 2.407 GB, free: 78.63 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/4.798, allocations: 87.95 kB / 2.408 GB, free: 78.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 10.82/15.62, allocations: 2.806 GB / 5.214 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/15.62, allocations: 0 / 5.214 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002408/15.62, allocations: 71.97 kB / 5.214 GB, free: 5.887 MB / 0.7136 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.01218/15.63, allocations: 3.493 MB / 5.217 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/15.63, allocations: 8.031 kB / 5.217 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009526/15.64, allocations: 1.202 MB / 5.218 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/15.65, allocations: 2.579 MB / 5.221 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/15.65, allocations: 351.9 kB / 5.221 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007668/15.65, allocations: 140 kB / 5.221 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004632/15.65, allocations: 2.433 MB / 5.224 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/15.66, allocations: 2.371 MB / 5.226 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.037e-05/15.66, allocations: 3.938 kB / 5.226 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/15.66, allocations: 4 kB / 5.226 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-05/15.66, allocations: 92 kB / 5.226 GB, free: 8.887 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.5757/16.23, allocations: 13.57 MB / 5.239 GB, free: 52.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/16.24, allocations: 1.488 MB / 5.241 GB, free: 52.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/16.24, allocations: 0.6065 MB / 5.241 GB, free: 52.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/16.24, allocations: 327.3 kB / 5.242 GB, free: 52.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/16.24, allocations: 52.14 kB / 5.242 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001751/16.24, allocations: 162.4 kB / 5.242 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=110): time 4.669e-06/16.24, allocations: 0 / 5.242 GB, free: 52.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=110): time 0.003483/16.24, allocations: 1.513 MB / 5.243 GB, free: 52.13 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/16.24, allocations: 66.78 kB / 5.244 GB, free: 52.07 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/16.25, allocations: 1.56 MB / 5.245 GB, free: 51.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002488/16.25, allocations: 32.33 kB / 5.245 GB, free: 51.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009487/16.25, allocations: 1.296 MB / 5.246 GB, free: 51.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/16.25, allocations: 374 kB / 5.247 GB, free: 51.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/16.25, allocations: 3.562 kB / 5.247 GB, free: 51.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001006/16.25, allocations: 370 kB / 5.247 GB, free: 50.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009475/16.25, allocations: 0.6682 MB / 5.248 GB, free: 50.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/16.25, allocations: 1.32 MB / 5.249 GB, free: 50.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/16.25, allocations: 1.156 MB / 5.25 GB, free: 50.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/16.25, allocations: 4.406 kB / 5.25 GB, free: 50.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00449/16.26, allocations: 2.373 MB / 5.252 GB, free: 49.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001137/16.26, allocations: 5.632 MB / 5.258 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/16.26, allocations: 13.81 kB / 5.258 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.458e-05/16.26, allocations: 27.94 kB / 5.258 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/16.26, allocations: 0.5686 MB / 5.259 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/16.26, allocations: 2.4 MB / 5.261 GB, free: 41.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/16.27, allocations: 388.5 kB / 5.261 GB, free: 41.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/16.27, allocations: 92.69 kB / 5.261 GB, free: 41.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/16.27, allocations: 6.281 kB / 5.261 GB, free: 41.75 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004466/16.27, allocations: 2.125 MB / 5.263 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/16.27, allocations: 13.59 kB / 5.263 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/16.27, allocations: 24.64 kB / 5.263 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/16.27, allocations: 0.5361 MB / 5.264 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/16.27, allocations: 30.41 kB / 5.264 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/16.28, allocations: 319.7 kB / 5.264 GB, free: 41.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/16.28, allocations: 97.53 kB / 5.264 GB, free: 41.71 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.0005854/16.28, allocations: 161.5 kB / 5.265 GB, free: 41.6 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002561/16.28, allocations: 1.473 MB / 5.266 GB, free: 41.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/16.28, allocations: 223.4 kB / 5.266 GB, free: 41.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/16.28, allocations: 1.623 MB / 5.268 GB, free: 41.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/16.28, allocations: 15.97 kB / 5.268 GB, free: 41.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/16.28, allocations: 1.344 kB / 5.268 GB, free: 41.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-05/16.28, allocations: 5.391 kB / 5.268 GB, free: 41.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/16.29, allocations: 3.915 MB / 5.272 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/16.29, allocations: 5.969 kB / 5.272 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001609/16.29, allocations: 316.3 kB / 5.272 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/16.29, allocations: 13.12 kB / 5.272 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.556e-05/16.29, allocations: 12.45 kB / 5.272 GB, free: 40.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000813/16.3, allocations: 2.373 MB / 5.274 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/16.3, allocations: 7.531 kB / 5.274 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/16.3, allocations: 2.209 MB / 5.276 GB, free: 37.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/16.3, allocations: 0.4902 MB / 5.277 GB, free: 37.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/16.3, allocations: 11.11 kB / 5.277 GB, free: 37.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/16.3, allocations: 240 kB / 5.277 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/16.3, allocations: 83.52 kB / 5.277 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/16.3, allocations: 65.78 kB / 5.277 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001913/16.3, allocations: 1.15 MB / 5.278 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/16.3, allocations: 5.688 kB / 5.278 GB, free: 36.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005394/16.31, allocations: 1.728 MB / 5.28 GB, free: 36.83 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.01333/16.32, allocations: 12.4 MB / 5.292 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005114/16.33, allocations: 2.85 MB / 5.295 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/16.33, allocations: 1.375 kB / 5.295 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009855/16.33, allocations: 0.6238 MB / 5.296 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/16.33, allocations: 0.7357 MB / 5.296 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007063/16.34, allocations: 3.564 MB / 5.3 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/16.34, allocations: 1.755 MB / 5.302 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004204/16.35, allocations: 0.824 MB / 5.302 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/16.35, allocations: 0.9464 MB / 5.303 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of SimCode: time 1.192e-06/16.35, allocations: 0 / 5.303 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/16.51, allocations: 99.59 MB / 5.401 GB, free: 21.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/16.51, allocations: 173.5 kB / 5.401 GB, free: 21.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.661/22.17, allocations: 0 / 5.401 GB, free: 21.61 MB / 0.7292 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)