Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 182.1 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.9928/0.9928, allocations: 133.3 MB / 150.1 MB, free: 11.17 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.48/1.48, allocations: 222.9 MB / 404.7 MB, free: 6.094 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.001007/0.001007, allocations: 107.4 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009903/0.0009904, allocations: 59.86 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1272, allocations: 80.41 MB / 0.6421 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002499/0.1297, allocations: 1.314 MB / 0.6434 GB, free: 4.113 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.1307, allocations: 0.6086 MB / 0.644 GB, free: 3.504 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1307, allocations: 4 kB / 0.644 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.1308, allocations: 0 / 0.644 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.1308, allocations: 0 / 0.644 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.1313, allocations: 116.6 kB / 0.6441 GB, free: 3.387 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.1313, allocations: 19.86 kB / 0.6441 GB, free: 3.367 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.1314, allocations: 0 / 0.6441 GB, free: 3.367 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.992e-05/0.1314, allocations: 8 kB / 0.6442 GB, free: 3.359 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.1315, allocations: 0 / 0.6442 GB, free: 3.359 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1315, allocations: 0 / 0.6442 GB, free: 3.359 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004664/0.1319, allocations: 347.3 kB / 0.6445 GB, free: 3.02 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.132, allocations: 0 / 0.6445 GB, free: 3.02 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.132, allocations: 7.938 kB / 0.6445 GB, free: 3.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1322, allocations: 132 kB / 0.6446 GB, free: 2.883 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1322, allocations: 3.984 kB / 0.6446 GB, free: 2.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1322, allocations: 0 / 0.6446 GB, free: 2.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1323, allocations: 0 / 0.6446 GB, free: 2.879 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003607/0.1326, allocations: 363.3 kB / 0.645 GB, free: 2.477 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1327, allocations: 12.03 kB / 0.645 GB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.1327, allocations: 0.9375 kB / 0.645 GB, free: 2.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.886e-05/0.1328, allocations: 160.4 kB / 0.6451 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1328, allocations: 384 / 0.6451 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.1328, allocations: 384 / 0.6451 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.058e-05/0.1329, allocations: 41.81 kB / 0.6452 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1329, allocations: 0 / 0.6452 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1329, allocations: 0 / 0.6452 GB, free: 2.223 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.133, allocations: 8 kB / 0.6452 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.133, allocations: 7.875 kB / 0.6452 GB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1331, allocations: 153.7 kB / 0.6453 GB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.324e-05/0.1332, allocations: 18.61 kB / 0.6454 GB, free: 1.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.1332, allocations: 8.922 kB / 0.6454 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1333, allocations: 0 / 0.6454 GB, free: 1.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1333, allocations: 42.5 kB / 0.6454 GB, free: 1.918 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1333, allocations: 0 / 0.6454 GB, free: 1.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001521/0.1334, allocations: 45.62 kB / 0.6454 GB, free: 1.867 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.1335, allocations: 51.41 kB / 0.6455 GB, free: 1.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.1336, allocations: 97.86 kB / 0.6456 GB, free: 1.699 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1336, allocations: 25.7 kB / 0.6456 GB, free: 1.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.1336, allocations: 80.14 kB / 0.6457 GB, free: 1.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1337, allocations: 3.906 kB / 0.6457 GB, free: 1.582 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.1337, allocations: 21.97 kB / 0.6457 GB, free: 1.555 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1338, allocations: 314.8 kB / 0.646 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/0.1338, allocations: 0 / 0.646 GB, free: 1.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.1338, allocations: 4 kB / 0.646 GB, free: 1.234 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.1339, allocations: 16.8 kB / 0.646 GB, free: 1.215 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1339, allocations: 0 / 0.646 GB, free: 1.215 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.899e-05/0.134, allocations: 37.64 kB / 0.6461 GB, free: 1.172 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.134, allocations: 12.09 kB / 0.6461 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.134, allocations: 3.984 kB / 0.6461 GB, free: 1.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.134, allocations: 3.938 kB / 0.6461 GB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.1342, allocations: 12.03 kB / 0.6461 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003523/0.1346, allocations: 0.582 MB / 0.6467 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.1346, allocations: 3.938 kB / 0.6467 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1346, allocations: 4 kB / 0.6467 GB, free: 0.5273 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/0.1347, allocations: 121.9 kB / 0.6468 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.1347, allocations: 0 / 0.6468 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1348, allocations: 44.81 kB / 0.6468 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1348, allocations: 0 / 0.6468 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1348, allocations: 0 / 0.6468 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1348, allocations: 0 / 0.6468 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.8e-05/0.1349, allocations: 153.6 kB / 0.647 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.135, allocations: 0 / 0.647 GB, free: 156 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.135, allocations: 16.02 kB / 0.647 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1351, allocations: 0 / 0.647 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1351, allocations: 4 kB / 0.647 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000321/0.1354, allocations: 0.5937 MB / 0.6476 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1354, allocations: 0 / 0.6476 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1357, allocations: 0.6163 MB / 0.6482 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1358, allocations: 81.02 kB / 0.6483 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1358, allocations: 3.938 kB / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.524e-05/0.1358, allocations: 3.984 kB / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.513e-05/0.1358, allocations: 0 / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.1359, allocations: 4 kB / 0.6483 GB, free: 14.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.053e-05/0.1359, allocations: 75.28 kB / 0.6483 GB, free: 14.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1359, allocations: 4.125 kB / 0.6483 GB, free: 14.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000314/0.1362, allocations: 15.98 kB / 0.6484 GB, free: 14.63 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.1364, allocations: 111.2 kB / 0.6485 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1366, allocations: 19.92 kB / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1366, allocations: 0 / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.1367, allocations: 11.98 kB / 0.6485 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1368, allocations: 9.625 kB / 0.6485 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.1372, allocations: 208.8 kB / 0.6487 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.1375, allocations: 0.677 MB / 0.6494 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.763e-05/0.1375, allocations: 0 / 0.6494 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.283e-05/0.1375, allocations: 7.438 kB / 0.6494 GB, free: 13.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1375, allocations: 0 / 0.6494 GB, free: 13.52 MB / 458.7 MB Notification: Performance of Templates: time 0.002459/0.14, allocations: 440.5 kB / 0.6498 GB, free: 13.1 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)