Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 102.2 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 194.3 kB / 17.3 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8084/0.8084, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4457, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002852/0.4486, allocations: 1.642 MB / 0.5831 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4504, allocations: 1.487 MB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.4505, allocations: 2.219 kB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.451, allocations: 52.22 kB / 0.5846 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.4511, allocations: 60.25 kB / 0.5847 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.4514, allocations: 98.88 kB / 0.5848 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.4516, allocations: 171.8 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.4517, allocations: 10.94 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.4517, allocations: 67.34 kB / 0.585 GB, free: 24.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.4519, allocations: 66.25 kB / 0.5851 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.4519, allocations: 10.28 kB / 0.5851 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.4521, allocations: 59.7 kB / 0.5851 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.4521, allocations: 42.89 kB / 0.5852 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.157e-05/0.4522, allocations: 64.95 kB / 0.5852 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.4525, allocations: 195.8 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.4525, allocations: 0.6875 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4525, allocations: 1.281 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.4525, allocations: 0.5 kB / 0.5854 GB, free: 24.57 MB / 446.1 MB 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.0005584/0.4531, allocations: 471.6 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4531, allocations: 9.844 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.892e-05/0.4532, allocations: 17.22 kB / 0.5859 GB, free: 24.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.4536, allocations: 266.8 kB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4536, allocations: 8.906 kB / 0.5862 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.4536, allocations: 4.312 kB / 0.5862 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.4538, allocations: 115.4 kB / 0.5863 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.4539, allocations: 0 / 0.5863 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4539, allocations: 1.406 kB / 0.5863 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4539, allocations: 5.328 kB / 0.5863 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002338/0.4541, allocations: 140.3 kB / 0.5864 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.4543, allocations: 232.1 kB / 0.5866 GB, free: 23.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.4547, allocations: 181 kB / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.737e-05/0.4548, allocations: 54.17 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.4549, allocations: 4.312 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.4551, allocations: 113.4 kB / 0.587 GB, free: 23.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.4551, allocations: 2.062 kB / 0.587 GB, free: 23.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004696/0.4555, allocations: 223.7 kB / 0.5872 GB, free: 23.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4556, allocations: 82.41 kB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4558, allocations: 202.9 kB / 0.5875 GB, free: 22.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.4558, allocations: 37.92 kB / 0.5875 GB, free: 22.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.4559, allocations: 109.7 kB / 0.5876 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.4559, allocations: 47.88 kB / 0.5876 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.456, allocations: 30.34 kB / 0.5877 GB, free: 22.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.456, allocations: 332.3 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.4561, allocations: 49.27 kB / 0.588 GB, free: 22.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4562, allocations: 75.91 kB / 0.5881 GB, free: 22.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.4564, allocations: 123.7 kB / 0.5882 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4564, allocations: 0 / 0.5882 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002952/0.4567, allocations: 191 kB / 0.5884 GB, free: 22.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4568, allocations: 8.75 kB / 0.5884 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4568, allocations: 3.844 kB / 0.5884 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4568, allocations: 1.562 kB / 0.5884 GB, free: 22.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4569, allocations: 24.73 kB / 0.5884 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4569, allocations: 5.172 kB / 0.5885 GB, free: 22.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.457, allocations: 10.19 kB / 0.5885 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.457, allocations: 17.02 kB / 0.5885 GB, free: 22.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.643e-05/0.4571, allocations: 140.1 kB / 0.5886 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.4571, allocations: 15.81 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.4572, allocations: 31.58 kB / 0.5887 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4572, allocations: 6.453 kB / 0.5887 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4572, allocations: 0.7188 kB / 0.5887 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4572, allocations: 0 / 0.5887 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.4574, allocations: 238.2 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4574, allocations: 0 / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.4575, allocations: 19.27 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4575, allocations: 1.375 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4575, allocations: 6.75 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4575, allocations: 1.438 kB / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4575, allocations: 0 / 0.5889 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.4578, allocations: 217.1 kB / 0.5891 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.4579, allocations: 92.98 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.4579, allocations: 10.52 kB / 0.5892 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.458, allocations: 5.375 kB / 0.5892 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.458, allocations: 10.36 kB / 0.5892 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.458, allocations: 6.625 kB / 0.5892 GB, free: 21.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.4582, allocations: 154.4 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4582, allocations: 0 / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.4584, allocations: 34.53 kB / 0.5894 GB, free: 21.26 MB / 446.1 MB 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.4595, allocations: 455 kB / 0.5899 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002858/0.4598, allocations: 125.1 kB / 0.59 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4598, allocations: 1 kB / 0.59 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4599, allocations: 59.2 kB / 0.59 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.4602, allocations: 51.58 kB / 0.5901 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.4608, allocations: 297.1 kB / 0.5904 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.461, allocations: 0.714 MB / 0.5911 GB, free: 20.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.4611, allocations: 52.64 kB / 0.5911 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.4612, allocations: 33.14 kB / 0.5911 GB, free: 20.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4612, allocations: 2 kB / 0.5911 GB, free: 20.02 MB / 446.1 MB Notification: Performance of Templates: time 0.005225/0.4665, allocations: 2.471 MB / 0.5936 GB, free: 17.81 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)