Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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: translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, 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.7185/0.7185, 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.483/1.483, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0009671/0.000967, allocations: 102.2 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.442e-05, allocations: 8.109 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 82.3 MB / 0.6404 GB, free: 7.844 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5535/0.6984, allocations: 115 MB / 0.7528 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.6987, allocations: 89.78 kB / 0.7528 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.7111, allocations: 5.359 MB / 0.7581 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7111, allocations: 0 / 0.7581 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.78e-05/0.7111, allocations: 3.969 kB / 0.7581 GB, free: 26.93 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000453/0.7116, allocations: 433.5 kB / 0.7585 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.7116, allocations: 7.719 kB / 0.7585 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.7117, allocations: 19.41 kB / 0.7585 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.7121, allocations: 259.2 kB / 0.7588 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.7121, allocations: 11.03 kB / 0.7588 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7121, allocations: 3.844 kB / 0.7588 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.7123, allocations: 121 kB / 0.7589 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7124, allocations: 0 / 0.7589 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.7124, allocations: 6.375 kB / 0.7589 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7124, allocations: 3.984 kB / 0.7589 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.7127, allocations: 188.2 kB / 0.7591 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.7129, allocations: 263.8 kB / 0.7593 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.7133, allocations: 197.5 kB / 0.7595 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.072e-05/0.7134, allocations: 63.97 kB / 0.7596 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7134, allocations: 0 / 0.7596 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001776/0.7136, allocations: 125.6 kB / 0.7597 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.7136, allocations: 0 / 0.7597 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.000325/0.714, allocations: 189.9 kB / 0.7599 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.714, allocations: 80.95 kB / 0.76 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.7143, allocations: 219.4 kB / 0.7602 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.7143, allocations: 40.84 kB / 0.7602 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.7143, allocations: 111.9 kB / 0.7603 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.7144, allocations: 45.33 kB / 0.7604 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.7144, allocations: 3.688 kB / 0.7604 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.7145, allocations: 329.9 kB / 0.7607 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.7146, allocations: 58.23 kB / 0.7607 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.264e-05/0.7147, allocations: 82.89 kB / 0.7608 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.809e-05/0.7148, allocations: 69.06 kB / 0.7609 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7148, allocations: 3.984 kB / 0.7609 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002573/0.7151, allocations: 201.6 kB / 0.7611 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7151, allocations: 4.781 kB / 0.7611 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.7151, allocations: 3.812 kB / 0.7611 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7151, allocations: 0 / 0.7611 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.7152, allocations: 27.14 kB / 0.7611 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.7153, allocations: 3.844 kB / 0.7611 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.7153, allocations: 11.59 kB / 0.7611 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.7154, allocations: 11.98 kB / 0.7611 GB, free: 24.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/0.7154, allocations: 116.8 kB / 0.7612 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.7155, allocations: 15.5 kB / 0.7613 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.7159, allocations: 286.5 kB / 0.7615 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.7159, allocations: 11.78 kB / 0.7615 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.7159, allocations: 0 / 0.7615 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7159, allocations: 4 kB / 0.7616 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.7161, allocations: 275.8 kB / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7161, allocations: 0 / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7162, allocations: 37.89 kB / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7162, allocations: 0 / 0.7618 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.7162, allocations: 6.969 kB / 0.7619 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7162, allocations: 0 / 0.7619 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7163, allocations: 0 / 0.7619 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.7165, allocations: 265.8 kB / 0.7621 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.7166, allocations: 108.1 kB / 0.7622 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.7167, allocations: 7.188 kB / 0.7622 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.7167, allocations: 11 kB / 0.7622 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.7168, allocations: 14.05 kB / 0.7622 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7168, allocations: 7.797 kB / 0.7623 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001472/0.717, allocations: 188.8 kB / 0.7624 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.717, allocations: 0 / 0.7624 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002405/0.7172, allocations: 53.47 kB / 0.7625 GB, free: 24.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/0.7181, allocations: 427.5 kB / 0.7629 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.7184, allocations: 157.7 kB / 0.763 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7184, allocations: 0 / 0.763 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.7185, allocations: 96.59 kB / 0.7631 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.7187, allocations: 26.17 kB / 0.7632 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.7192, allocations: 262.2 kB / 0.7634 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.7195, allocations: 0.7408 MB / 0.7641 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.7196, allocations: 51.28 kB / 0.7642 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.7197, allocations: 37.67 kB / 0.7642 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.7197, allocations: 0 / 0.7642 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.005103/0.7248, allocations: 3.034 MB / 0.7672 GB, free: 21.43 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)