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.001218/0.001218, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6969/0.6969, allocations: 133.4 MB / 150.1 MB, free: 11.14 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.49/1.49, allocations: 222.9 MB / 404.7 MB, free: 6.078 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.001042/0.001042, allocations: 111.3 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.91 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1346, allocations: 80.42 MB / 0.6422 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003161/0.1378, allocations: 1.698 MB / 0.6438 GB, free: 3.711 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.14, allocations: 1.453 MB / 0.6452 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.1401, allocations: 0 / 0.6452 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.1405, allocations: 55.83 kB / 0.6453 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1407, allocations: 47.77 kB / 0.6453 GB, free: 2.152 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.141, allocations: 89.08 kB / 0.6454 GB, free: 2.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1412, allocations: 151.6 kB / 0.6456 GB, free: 1.918 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1413, allocations: 20.2 kB / 0.6456 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1414, allocations: 51.78 kB / 0.6456 GB, free: 1.844 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1416, allocations: 67.73 kB / 0.6457 GB, free: 1.777 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1416, allocations: 4 kB / 0.6457 GB, free: 1.773 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1418, allocations: 55.98 kB / 0.6457 GB, free: 1.719 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.1419, allocations: 47.81 kB / 0.6458 GB, free: 1.672 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.1419, allocations: 55.59 kB / 0.6458 GB, free: 1.617 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.1422, allocations: 191.7 kB / 0.646 GB, free: 1.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1422, allocations: 0 / 0.646 GB, free: 1.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1422, allocations: 4 kB / 0.646 GB, free: 1.426 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1422, allocations: 0 / 0.646 GB, free: 1.426 MB / 442.7 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.0007/0.143, allocations: 469 kB / 0.6465 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.143, allocations: 12.03 kB / 0.6465 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1431, allocations: 12.75 kB / 0.6465 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.1434, allocations: 264.2 kB / 0.6468 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1435, allocations: 11.94 kB / 0.6468 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1435, allocations: 4 kB / 0.6468 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.1437, allocations: 119.3 kB / 0.6469 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1438, allocations: 0 / 0.6469 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1438, allocations: 4 kB / 0.6469 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1438, allocations: 0 / 0.6469 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.144, allocations: 147.8 kB / 0.647 GB, free: 316 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.1443, allocations: 229.4 kB / 0.6472 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1447, allocations: 174.6 kB / 0.6474 GB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1448, allocations: 52.83 kB / 0.6475 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1449, allocations: 4 kB / 0.6475 GB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.1451, allocations: 112.5 kB / 0.6476 GB, free: 15.68 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 4.468e-06/0.1451, allocations: 4.047 kB / 0.6476 GB, free: 15.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004838/0.1456, allocations: 226 kB / 0.6478 GB, free: 15.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/0.1457, allocations: 89.09 kB / 0.6479 GB, free: 15.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.1459, allocations: 198.6 kB / 0.6481 GB, free: 15.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.146, allocations: 33.7 kB / 0.6481 GB, free: 15.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.146, allocations: 108.1 kB / 0.6482 GB, free: 14.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.1461, allocations: 51.38 kB / 0.6483 GB, free: 14.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.1462, allocations: 29.72 kB / 0.6483 GB, free: 14.89 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1463, allocations: 334.8 kB / 0.6486 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.1464, allocations: 47.98 kB / 0.6486 GB, free: 14.51 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.1465, allocations: 76.8 kB / 0.6487 GB, free: 14.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1467, allocations: 123.4 kB / 0.6488 GB, free: 14.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1467, allocations: 0 / 0.6488 GB, free: 14.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003225/0.1471, allocations: 193.4 kB / 0.649 GB, free: 14.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1471, allocations: 4 kB / 0.649 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1471, allocations: 4 kB / 0.649 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1471, allocations: 8.062 kB / 0.649 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1473, allocations: 27.98 kB / 0.6491 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1473, allocations: 0 / 0.6491 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.1473, allocations: 7.906 kB / 0.6491 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1474, allocations: 7.984 kB / 0.6491 GB, free: 14.05 MB / 458.7 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 0.0001315/0.1475, allocations: 141.7 kB / 0.6492 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1475, allocations: 15.81 kB / 0.6492 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/0.1476, allocations: 33.5 kB / 0.6493 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1476, allocations: 0 / 0.6493 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1476, allocations: 4 kB / 0.6493 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1476, allocations: 3.984 kB / 0.6493 GB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1478, allocations: 237.5 kB / 0.6495 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1479, allocations: 0 / 0.6495 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.1479, allocations: 19.98 kB / 0.6495 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1479, allocations: 0 / 0.6495 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.148, allocations: 8 kB / 0.6495 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.148, allocations: 0 / 0.6495 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.148, allocations: 3.938 kB / 0.6495 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.1487, allocations: 0.84 MB / 0.6503 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1488, allocations: 92.91 kB / 0.6504 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.1488, allocations: 8 kB / 0.6504 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.53e-05/0.1489, allocations: 0 / 0.6504 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.1489, allocations: 15.92 kB / 0.6505 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.1489, allocations: 8 kB / 0.6505 GB, free: 12.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1491, allocations: 164.2 kB / 0.6506 GB, free: 12.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1491, allocations: 0 / 0.6506 GB, free: 12.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.1494, allocations: 31.94 kB / 0.6507 GB, free: 12.31 MB / 458.7 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.001094/0.1505, allocations: 459.8 kB / 0.6511 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.1508, allocations: 127.5 kB / 0.6512 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1509, allocations: 0 / 0.6512 GB, free: 11.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.151, allocations: 63.91 kB / 0.6513 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.1513, allocations: 23.98 kB / 0.6513 GB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/0.152, allocations: 471.6 kB / 0.6517 GB, free: 11.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.1523, allocations: 0.7244 MB / 0.6525 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.1524, allocations: 57.48 kB / 0.6525 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.1525, allocations: 27.42 kB / 0.6525 GB, free: 10.48 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1525, allocations: 0 / 0.6525 GB, free: 10.48 MB / 458.7 MB Notification: Performance of Templates: time 0.005646/0.1582, allocations: 2.474 MB / 0.6549 GB, free: 8.051 MB / 458.7 MB 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)