Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.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.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",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.007483/0.007483, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7529/0.7529, allocations: 135.2 MB / 151 MB, free: 13.82 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.494/1.494, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 97.11 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004075, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4722, allocations: 82.29 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8714/1.344, allocations: 380.3 MB / 1.021 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/1.344, allocations: 89.52 kB / 1.021 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.983/7.327, allocations: 1.483 GB / 2.504 GB, free: 75.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.795e-06/7.328, allocations: 0 / 2.504 GB, free: 75.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00102/7.329, allocations: 159.3 kB / 2.504 GB, free: 75.68 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: 834 * Number of variables: 834 Notification: Performance of Generate backend data structure: time 0.02133/7.35, allocations: 5.913 MB / 2.51 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/7.35, allocations: 11.27 kB / 2.51 GB, free: 73.32 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002196/7.352, allocations: 472.7 kB / 2.51 GB, free: 73.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/7.358, allocations: 0.8024 MB / 2.511 GB, free: 72.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/7.379, allocations: 6.918 MB / 2.518 GB, free: 72.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/7.379, allocations: 263 kB / 2.518 GB, free: 72.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001082/7.38, allocations: 343.4 kB / 2.518 GB, free: 72.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009009/7.389, allocations: 5.353 MB / 2.523 GB, free: 71.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.337e-05/7.389, allocations: 13.33 kB / 2.523 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005063/7.39, allocations: 141.8 kB / 2.524 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.096e-05/7.39, allocations: 120.4 kB / 2.524 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0078/7.398, allocations: 5.064 MB / 2.529 GB, free: 71.38 MB / 0.7136 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.03582/7.433, allocations: 22.82 MB / 2.551 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/7.437, allocations: 2.579 MB / 2.553 GB, free: 61.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/7.452, allocations: 7.138 MB / 2.56 GB, free: 59.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002626/7.454, allocations: 1.839 MB / 2.562 GB, free: 59.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007034/7.461, allocations: 2.059 MB / 2.564 GB, free: 58.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 1.359e-05/7.461, allocations: 3.828 kB / 2.564 GB, free: 58.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.01889/7.48, allocations: 7.152 MB / 2.571 GB, free: 58.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/7.48, allocations: 68.97 kB / 2.571 GB, free: 58.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008333/7.489, allocations: 4.592 MB / 2.576 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008959/7.49, allocations: 72.45 kB / 2.576 GB, free: 57.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002395/7.492, allocations: 2.463 MB / 2.578 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009024/7.493, allocations: 0.5584 MB / 2.579 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/7.493, allocations: 58.16 kB / 2.579 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001547/7.493, allocations: 410.9 kB / 2.579 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/7.496, allocations: 1.515 MB / 2.581 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002881/7.498, allocations: 2.79 MB / 2.583 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002631/7.501, allocations: 1.968 MB / 2.585 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/7.501, allocations: 11.62 kB / 2.585 GB, free: 52.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.008935/7.51, allocations: 5.519 MB / 2.591 GB, free: 50.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00355/7.514, allocations: 15.3 MB / 2.606 GB, free: 33.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.402e-05/7.514, allocations: 34.91 kB / 2.606 GB, free: 33.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06448/7.578, allocations: 11.46 MB / 2.617 GB, free: 26.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/7.581, allocations: 0.6513 MB / 2.618 GB, free: 25.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/7.589, allocations: 4.732 MB / 2.622 GB, free: 36.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006074/7.595, allocations: 359 kB / 2.623 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005081/7.595, allocations: 155.9 kB / 2.623 GB, free: 36.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/7.595, allocations: 4 kB / 2.623 GB, free: 36.11 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007035/7.602, allocations: 5 MB / 2.628 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/7.602, allocations: 32 kB / 2.628 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06568/7.668, allocations: 11.39 MB / 2.639 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/7.671, allocations: 0.6357 MB / 2.639 GB, free: 19.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/7.682, allocations: 7.796 MB / 2.647 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006627/7.689, allocations: 339 kB / 2.647 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009457/7.69, allocations: 156 kB / 2.647 GB, free: 10.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 280 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.005431/7.695, allocations: 1.555 MB / 2.649 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002106/7.697, allocations: 466.2 kB / 2.649 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008714/7.706, allocations: 4.589 MB / 2.654 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/7.706, allocations: 23.94 kB / 2.654 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/7.706, allocations: 0 / 2.654 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5867/8.293, allocations: 6.206 MB / 2.66 GB, free: 98.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03077/8.323, allocations: 12.66 MB / 2.672 GB, free: 97.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/8.323, allocations: 0 / 2.672 GB, free: 97.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/8.326, allocations: 372.7 kB / 2.673 GB, free: 97.22 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06679/8.393, allocations: 11.62 MB / 2.684 GB, free: 97.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005334/8.393, allocations: 56.61 kB / 2.684 GB, free: 97.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005614/8.399, allocations: 4.116 MB / 2.688 GB, free: 95.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/8.399, allocations: 0 / 2.688 GB, free: 95.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/8.42, allocations: 9.347 MB / 2.697 GB, free: 95.28 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0046/8.424, allocations: 1.106 MB / 2.698 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/8.426, allocations: 31.47 kB / 2.698 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003376/8.429, allocations: 296.8 kB / 2.699 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/8.429, allocations: 105.1 kB / 2.699 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002288/8.429, allocations: 88.78 kB / 2.699 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.005884/8.435, allocations: 3.553 MB / 2.702 GB, free: 95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/8.435, allocations: 2.625 kB / 2.702 GB, free: 95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.012/8.447, allocations: 2.779 MB / 2.705 GB, free: 94.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.s[1],val.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.02339/8.471, allocations: 10.98 MB / 2.716 GB, free: 93.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01547/8.486, allocations: 7.28 MB / 2.723 GB, free: 93.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/8.486, allocations: 0 / 2.723 GB, free: 93.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005135/8.492, allocations: 2.484 MB / 2.725 GB, free: 93.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01387/8.505, allocations: 2.693 MB / 2.728 GB, free: 93.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03726/8.543, allocations: 40.85 MB / 2.768 GB, free: 59.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003211/8.546, allocations: 3.323 MB / 2.771 GB, free: 58.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00748/8.553, allocations: 1.685 MB / 2.773 GB, free: 58.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004109/8.558, allocations: 2.012 MB / 2.775 GB, free: 58.44 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/8.558, allocations: 4 kB / 2.775 GB, free: 58.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2501/8.808, allocations: 157.3 MB / 2.928 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/8.808, allocations: 249 kB / 2.928 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/16.25, allocations: 0 / 2.928 GB, free: 6.219 MB / 0.7605 GB (rm -f IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > IDEAS_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)