Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="IDEAS_dev_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.001536/0.001536, allocations: 174.7 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.7229/0.7229, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.613/1.613, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0009073/0.0009075, allocations: 78.33 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.765e-05, allocations: 2.719 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.183, allocations: 82.3 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.301/1.484, allocations: 380.3 MB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/1.485, allocations: 95.95 kB / 1.012 GB, free: 202 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.081/7.565, allocations: 1.477 GB / 2.489 GB, free: 66.72 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.394e-06/7.565, allocations: 3.844 kB / 2.489 GB, free: 66.72 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001562/7.567, allocations: 159.7 kB / 2.49 GB, free: 66.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.02161/7.589, allocations: 4.567 MB / 2.494 GB, free: 63.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/7.589, allocations: 10.84 kB / 2.494 GB, free: 63.98 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002268/7.591, allocations: 465.4 kB / 2.494 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006882/7.598, allocations: 0.8061 MB / 2.495 GB, free: 63.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02565/7.623, allocations: 6.861 MB / 2.502 GB, free: 59.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005804/7.624, allocations: 263.5 kB / 2.502 GB, free: 59.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002021/7.626, allocations: 346.5 kB / 2.502 GB, free: 59.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/7.643, allocations: 5.249 MB / 2.508 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/7.643, allocations: 15.53 kB / 2.508 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007399/7.644, allocations: 146.2 kB / 2.508 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/7.644, allocations: 112.6 kB / 2.508 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01019/7.654, allocations: 4.917 MB / 2.513 GB, free: 53.75 MB / 0.7136 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.0394/7.694, allocations: 22.79 MB / 2.535 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/7.697, allocations: 2.486 MB / 2.537 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/7.7, allocations: 1.771 MB / 2.539 GB, free: 28.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/7.713, allocations: 7.147 MB / 2.546 GB, free: 20.83 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002593/7.716, allocations: 1.781 MB / 2.548 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006614/7.723, allocations: 2.049 MB / 2.55 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=158): time 1.415e-05/7.723, allocations: 0 / 2.55 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=158): time 0.006984/7.73, allocations: 4.05 MB / 2.554 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/7.73, allocations: 68.72 kB / 2.554 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009405/7.739, allocations: 4.547 MB / 2.558 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003391/7.74, allocations: 69.7 kB / 2.558 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/7.742, allocations: 2.458 MB / 2.561 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005991/7.743, allocations: 0.5679 MB / 2.561 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/7.743, allocations: 52 kB / 2.561 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000124/7.743, allocations: 419.3 kB / 2.562 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/7.745, allocations: 1.45 MB / 2.563 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/7.747, allocations: 2.732 MB / 2.566 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/7.75, allocations: 1.928 MB / 2.568 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.722e-05/7.75, allocations: 8 kB / 2.568 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.03518/7.785, allocations: 8.448 MB / 2.576 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.6081/8.393, allocations: 15.29 MB / 2.591 GB, free: 78.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/8.394, allocations: 32.5 kB / 2.591 GB, free: 78.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1022/8.496, allocations: 15.4 MB / 2.606 GB, free: 78.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/8.5, allocations: 0.651 MB / 2.607 GB, free: 78.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/8.51, allocations: 4.718 MB / 2.611 GB, free: 77.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007606/8.518, allocations: 363.7 kB / 2.612 GB, free: 77.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001007/8.519, allocations: 157 kB / 2.612 GB, free: 77.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/8.519, allocations: 4.125 kB / 2.612 GB, free: 77.14 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03517/8.554, allocations: 7.943 MB / 2.619 GB, free: 77.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002421/8.554, allocations: 31.78 kB / 2.62 GB, free: 77.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09094/8.645, allocations: 15.32 MB / 2.634 GB, free: 76.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/8.649, allocations: 0.6413 MB / 2.635 GB, free: 76.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/8.66, allocations: 7.692 MB / 2.643 GB, free: 73.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/8.667, allocations: 341.7 kB / 2.643 GB, free: 73.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009193/8.668, allocations: 150.3 kB / 2.643 GB, free: 73.58 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 () * 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.001627/8.67, allocations: 297.7 kB / 2.643 GB, free: 73.47 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002428/8.672, allocations: 470.4 kB / 2.644 GB, free: 73.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02708/8.699, allocations: 6.781 MB / 2.65 GB, free: 73.24 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/8.699, allocations: 21.27 kB / 2.65 GB, free: 73.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/8.699, allocations: 0 / 2.65 GB, free: 73.24 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0122/8.712, allocations: 6.095 MB / 2.656 GB, free: 71.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03204/8.744, allocations: 12.54 MB / 2.669 GB, free: 70.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/8.744, allocations: 0 / 2.669 GB, free: 70.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002152/8.746, allocations: 373.9 kB / 2.669 GB, free: 70.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06506/8.811, allocations: 11.62 MB / 2.68 GB, free: 69.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000784/8.812, allocations: 51.27 kB / 2.68 GB, free: 69.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006665/8.819, allocations: 4.105 MB / 2.684 GB, free: 68.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/8.819, allocations: 7.438 kB / 2.684 GB, free: 68.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/8.84, allocations: 9.164 MB / 2.693 GB, free: 67.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005376/8.846, allocations: 1.112 MB / 2.694 GB, free: 67.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003209/8.849, allocations: 29.2 kB / 2.694 GB, free: 67.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006752/8.856, allocations: 301.2 kB / 2.695 GB, free: 67.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005446/8.856, allocations: 109.9 kB / 2.695 GB, free: 67.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005331/8.857, allocations: 83.39 kB / 2.695 GB, free: 67.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.009396/8.866, allocations: 3.503 MB / 2.698 GB, free: 67.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.71e-07/8.866, allocations: 0 / 2.698 GB, free: 67.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0155/8.882, allocations: 2.777 MB / 2.701 GB, free: 67.07 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) * 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.02608/8.908, allocations: 10.81 MB / 2.712 GB, free: 65.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01723/8.925, allocations: 7.262 MB / 2.719 GB, free: 65.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/8.925, allocations: 7.781 kB / 2.719 GB, free: 65.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005653/8.931, allocations: 2.414 MB / 2.721 GB, free: 65.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01568/8.947, allocations: 2.706 MB / 2.724 GB, free: 64.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/8.975, allocations: 9.124 MB / 2.733 GB, free: 63.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004756/8.98, allocations: 3.327 MB / 2.736 GB, free: 62.39 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01271/8.992, allocations: 3.04 MB / 2.739 GB, free: 62.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00384/8.996, allocations: 1.922 MB / 2.741 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of SimCode: time 1.343e-06/8.996, allocations: 0 / 2.741 GB, free: 62.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.847/9.843, allocations: 166.6 MB / 2.903 GB, free: 103.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/9.843, allocations: 221.5 kB / 2.904 GB, free: 103.7 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/18, allocations: 2.25 kB / 2.904 GB, free: 103.7 MB / 0.7448 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_ResistanceVolumeFlowReversal.fmu > IDEAS_dev_IDEAS.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)