Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="IDEAS_IDEAS_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.001593/0.001593, allocations: 174.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7411/0.7411, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.681/1.681, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 89.72 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.523e-05/4.525e-05, allocations: 3.125 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2003, allocations: 82.3 MB / 0.6405 GB, free: 7.707 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.521/5.721, allocations: 1.864 GB / 2.504 GB, free: 66.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/5.722, allocations: 93.89 kB / 2.505 GB, free: 66.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.73/17.45, allocations: 2.837 GB / 5.342 GB, free: 26.31 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.463e-06/17.45, allocations: 0 / 5.342 GB, free: 26.31 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003687/17.45, allocations: 63.98 kB / 5.342 GB, free: 26.25 MB / 0.7917 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.01162/17.46, allocations: 3.501 MB / 5.345 GB, free: 22.67 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/17.46, allocations: 12.03 kB / 5.345 GB, free: 22.66 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/17.47, allocations: 295.6 kB / 5.346 GB, free: 22.36 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/17.48, allocations: 1.194 MB / 5.347 GB, free: 21.16 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008807/17.48, allocations: 2.57 MB / 5.349 GB, free: 18.51 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/17.49, allocations: 436.8 kB / 5.35 GB, free: 18.08 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009957/17.49, allocations: 228 kB / 5.35 GB, free: 17.86 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007247/17.49, allocations: 2.824 MB / 5.353 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.573e-05/17.49, allocations: 3.938 kB / 5.353 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006014/17.5, allocations: 92 kB / 5.353 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/17.5, allocations: 84 kB / 5.353 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005079/17.5, allocations: 2.651 MB / 5.355 GB, free: 12.02 MB / 0.7917 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.0224/17.52, allocations: 14.08 MB / 5.369 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/17.53, allocations: 1.426 MB / 5.371 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/17.53, allocations: 0.6447 MB / 5.371 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006096/17.53, allocations: 324.2 kB / 5.372 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/17.53, allocations: 51.56 kB / 5.372 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002045/17.53, allocations: 214.3 kB / 5.372 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 1.087e-05/17.53, allocations: 4 kB / 5.372 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.003583/17.53, allocations: 1.439 MB / 5.373 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/17.53, allocations: 64.41 kB / 5.373 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006182/17.54, allocations: 2.086 MB / 5.375 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003953/17.54, allocations: 61.69 kB / 5.375 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002074/17.54, allocations: 1.27 MB / 5.377 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/17.54, allocations: 386.4 kB / 5.377 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/17.54, allocations: 44 kB / 5.377 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002858/17.54, allocations: 369.9 kB / 5.377 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/17.54, allocations: 0.7107 MB / 5.378 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/17.55, allocations: 1.38 MB / 5.379 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/17.55, allocations: 0.9396 MB / 5.38 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/17.55, allocations: 4 kB / 5.38 GB, free: 1.035 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.7901/18.34, allocations: 2.318 MB / 5.383 GB, free: 62.91 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001577/18.34, allocations: 5.777 MB / 5.388 GB, free: 56.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.979e-05/18.34, allocations: 16.19 kB / 5.388 GB, free: 56.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.562e-05/18.34, allocations: 25.09 kB / 5.388 GB, free: 56.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003988/18.35, allocations: 0.5596 MB / 5.389 GB, free: 56.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/18.35, allocations: 2.393 MB / 5.391 GB, free: 54.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/18.35, allocations: 467.4 kB / 5.392 GB, free: 54.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006165/18.35, allocations: 100.6 kB / 5.392 GB, free: 54.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/18.35, allocations: 4.875 kB / 5.392 GB, free: 54.5 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005345/18.36, allocations: 2.081 MB / 5.394 GB, free: 54.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/18.36, allocations: 14.09 kB / 5.394 GB, free: 54.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.088e-05/18.36, allocations: 24.34 kB / 5.394 GB, free: 54.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/18.36, allocations: 0.5332 MB / 5.394 GB, free: 54.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.312e-05/18.36, allocations: 34.08 kB / 5.394 GB, free: 54.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004472/18.37, allocations: 396.2 kB / 5.395 GB, free: 54.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/18.37, allocations: 92.03 kB / 5.395 GB, free: 54.42 MB / 0.8073 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.0007732/18.37, allocations: 220.9 kB / 5.395 GB, free: 54.31 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/18.37, allocations: 261.7 kB / 5.395 GB, free: 54.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/18.37, allocations: 1.577 MB / 5.397 GB, free: 54.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/18.37, allocations: 9.844 kB / 5.397 GB, free: 54.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/18.37, allocations: 1.094 kB / 5.397 GB, free: 54.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/18.37, allocations: 8.391 kB / 5.397 GB, free: 54.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009061/18.38, allocations: 4.187 MB / 5.401 GB, free: 53.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/18.38, allocations: 6.156 kB / 5.401 GB, free: 53.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/18.38, allocations: 318.4 kB / 5.401 GB, free: 53.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.911e-05/18.38, allocations: 13.19 kB / 5.401 GB, free: 53.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/18.38, allocations: 30.09 kB / 5.401 GB, free: 53.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008425/18.39, allocations: 2.367 MB / 5.404 GB, free: 51.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/18.39, allocations: 12.41 kB / 5.404 GB, free: 51.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/18.39, allocations: 2.195 MB / 5.406 GB, free: 50.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/18.39, allocations: 0.5452 MB / 5.406 GB, free: 49.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004207/18.39, allocations: 23.25 kB / 5.406 GB, free: 49.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/18.39, allocations: 288.4 kB / 5.407 GB, free: 49.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/18.39, allocations: 81.86 kB / 5.407 GB, free: 49.85 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/18.39, allocations: 64.97 kB / 5.407 GB, free: 49.85 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003962/18.4, allocations: 1.593 MB / 5.408 GB, free: 49.69 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.9e-07/18.4, allocations: 0.9375 kB / 5.408 GB, free: 49.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01126/18.41, allocations: 1.932 MB / 5.41 GB, free: 49.63 MB / 0.8073 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.01757/18.43, allocations: 11.71 MB / 5.422 GB, free: 42.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006275/18.43, allocations: 3.042 MB / 5.425 GB, free: 42.19 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.767e-05/18.43, allocations: 3 kB / 5.425 GB, free: 42.19 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/18.43, allocations: 0.6644 MB / 5.425 GB, free: 42.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007606/18.44, allocations: 1.195 MB / 5.426 GB, free: 42.16 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/18.45, allocations: 3.754 MB / 5.43 GB, free: 41.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/18.45, allocations: 1.757 MB / 5.432 GB, free: 40.33 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.005243/18.46, allocations: 0.9754 MB / 5.433 GB, free: 40.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/18.46, allocations: 0.9691 MB / 5.434 GB, free: 40.29 MB / 0.8073 GB Notification: Performance of SimCode: time 1.273e-06/18.46, allocations: 0 / 5.434 GB, free: 40.29 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/18.75, allocations: 169.8 MB / 5.6 GB, free: 25.83 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/18.75, allocations: 220 kB / 5.6 GB, free: 25.61 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/27.43, allocations: 0 / 5.6 GB, free: 25.61 MB / 0.8073 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_ReverseFlowMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)