Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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/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/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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 182.9 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/package.mo): time 0.8137/0.8137, allocations: 132.2 MB / 148.9 MB, free: 12.13 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.477/1.477, allocations: 222.9 MB / 403.3 MB, free: 7.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.0009499/0.0009499, allocations: 98.75 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009677/0.0009677, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1227, allocations: 80.2 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002983/0.1257, allocations: 2.075 MB / 0.6422 GB, free: 4.672 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.1286, allocations: 2.061 MB / 0.6442 GB, free: 2.602 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1287, allocations: 4 kB / 0.6442 GB, free: 2.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.1293, allocations: 247.1 kB / 0.6444 GB, free: 2.355 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.1299, allocations: 264.6 kB / 0.6447 GB, free: 2.098 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007809/0.1307, allocations: 416.2 kB / 0.6451 GB, free: 1.691 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006249/0.1313, allocations: 0.5806 MB / 0.6457 GB, free: 1.109 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.1315, allocations: 32.67 kB / 0.6457 GB, free: 1.074 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001889/0.1316, allocations: 151.5 kB / 0.6458 GB, free: 0.9258 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1319, allocations: 171.4 kB / 0.646 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1319, allocations: 11.94 kB / 0.646 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006164/0.1326, allocations: 439.2 kB / 0.6464 GB, free: 324 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.1327, allocations: 87.7 kB / 0.6465 GB, free: 236 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1328, allocations: 111.3 kB / 0.6466 GB, free: 124 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.1334, allocations: 0.5726 MB / 0.6472 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1334, allocations: 0 / 0.6472 GB, free: 15.55 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1335, allocations: 3.938 kB / 0.6472 GB, free: 15.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1335, allocations: 0 / 0.6472 GB, free: 15.54 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008936/0.1344, allocations: 0.6048 MB / 0.6478 GB, free: 14.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1344, allocations: 12.03 kB / 0.6478 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.1347, allocations: 48.53 kB / 0.6478 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.1352, allocations: 324.4 kB / 0.6481 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1352, allocations: 8.375 kB / 0.6482 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.1352, allocations: 19.92 kB / 0.6482 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.1356, allocations: 157.5 kB / 0.6483 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.1356, allocations: 0 / 0.6483 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1356, allocations: 4 kB / 0.6483 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1356, allocations: 4 kB / 0.6483 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.136, allocations: 129.7 kB / 0.6485 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.1367, allocations: 496.3 kB / 0.6489 GB, free: 13.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.137, allocations: 130.5 kB / 0.6491 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1372, allocations: 64.81 kB / 0.6491 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1373, allocations: 7.984 kB / 0.6491 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1373, allocations: 34.56 kB / 0.6492 GB, free: 13.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1373, allocations: 0 / 0.6492 GB, free: 13.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006743/0.138, allocations: 233.4 kB / 0.6494 GB, free: 13.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.138, allocations: 59.39 kB / 0.6494 GB, free: 13.06 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.1384, allocations: 340.4 kB / 0.6498 GB, free: 12.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1384, allocations: 25.7 kB / 0.6498 GB, free: 12.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.1385, allocations: 156 kB / 0.6499 GB, free: 12.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.1385, allocations: 31.53 kB / 0.65 GB, free: 12.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.179e-05/0.1386, allocations: 54.06 kB / 0.65 GB, free: 12.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1387, allocations: 334.8 kB / 0.6503 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.139, allocations: 120.8 kB / 0.6504 GB, free: 11.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.1393, allocations: 162.8 kB / 0.6506 GB, free: 11.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.1398, allocations: 283.8 kB / 0.6509 GB, free: 11.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1398, allocations: 4 kB / 0.6509 GB, free: 11.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006321/0.1405, allocations: 330.7 kB / 0.6512 GB, free: 11.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1405, allocations: 4 kB / 0.6512 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1405, allocations: 4 kB / 0.6512 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1405, allocations: 3.938 kB / 0.6512 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1408, allocations: 51.95 kB / 0.6513 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1408, allocations: 3.984 kB / 0.6513 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.1409, allocations: 27.69 kB / 0.6513 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.141, allocations: 15.98 kB / 0.6513 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002927/0.1413, allocations: 216 kB / 0.6515 GB, free: 10.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002422/0.1415, allocations: 140.9 kB / 0.6516 GB, free: 10.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004451/0.142, allocations: 244.6 kB / 0.6519 GB, free: 10.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.142, allocations: 0 / 0.6519 GB, free: 10.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000575/0.1426, allocations: 285.4 kB / 0.6521 GB, free: 10.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.1426, allocations: 8 kB / 0.6522 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-06/0.1426, allocations: 0 / 0.6522 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-06/0.1426, allocations: 4 kB / 0.6522 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.1428, allocations: 51.89 kB / 0.6522 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1428, allocations: 7.938 kB / 0.6522 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.143, allocations: 15.89 kB / 0.6522 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.143, allocations: 8 kB / 0.6522 GB, free: 10.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 1 * 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 9.425e-05/0.1431, allocations: 201.5 kB / 0.6524 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.1432, allocations: 27.62 kB / 0.6525 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.1437, allocations: 196.2 kB / 0.6526 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1437, allocations: 7.938 kB / 0.6526 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1437, allocations: 0 / 0.6526 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1437, allocations: 0 / 0.6526 GB, free: 9.609 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.144, allocations: 273.5 kB / 0.6529 GB, free: 9.293 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.144, allocations: 4 kB / 0.6529 GB, free: 9.289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1441, allocations: 27.97 kB / 0.6529 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1442, allocations: 0 / 0.6529 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1442, allocations: 96 / 0.6529 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1442, allocations: 11.88 kB / 0.653 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1442, allocations: 0 / 0.653 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.145, allocations: 0.938 MB / 0.6539 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.1452, allocations: 128.6 kB / 0.654 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.1452, allocations: 0 / 0.654 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.1454, allocations: 11.92 kB / 0.654 GB, free: 8.098 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1454, allocations: 8 kB / 0.654 GB, free: 8.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.1454, allocations: 7.984 kB / 0.654 GB, free: 8.082 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002179/0.1456, allocations: 235 kB / 0.6542 GB, free: 7.855 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1457, allocations: 0 / 0.6542 GB, free: 7.855 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007571/0.1464, allocations: 148 kB / 0.6544 GB, free: 7.711 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0004184/0.1468, allocations: 199 kB / 0.6546 GB, free: 7.504 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.1476, allocations: 323.6 kB / 0.6549 GB, free: 7.188 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1476, allocations: 0 / 0.6549 GB, free: 7.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.1478, allocations: 72.77 kB / 0.655 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.1483, allocations: 105.5 kB / 0.6551 GB, free: 7.012 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.1491, allocations: 0.6447 MB / 0.6557 GB, free: 6.332 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1494, allocations: 0.7758 MB / 0.6564 GB, free: 5.527 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002779/0.1497, allocations: 78.88 kB / 0.6565 GB, free: 5.449 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.643e-05/0.1498, allocations: 31.42 kB / 0.6565 GB, free: 5.418 MB / 458.7 MB Notification: Performance of SimCode: time 5.08e-06/0.1498, allocations: 0 / 0.6565 GB, free: 5.418 MB / 458.7 MB Notification: Performance of Templates: time 0.01015/0.16, allocations: 6.426 MB / 0.6628 GB, free: 15.07 MB / 474.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)