Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 182 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.7932/0.7932, allocations: 132.2 MB / 148.9 MB, free: 12.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.463/1.463, allocations: 222.9 MB / 403.3 MB, free: 7.098 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.001037/0.001037, allocations: 106.2 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009903, allocations: 47.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1266, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.00229/0.1289, allocations: 1.318 MB / 0.6414 GB, free: 5.457 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.1299, allocations: 0.6082 MB / 0.642 GB, free: 4.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.39e-05/0.1299, allocations: 4 kB / 0.642 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1299, allocations: 0 / 0.642 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.13, allocations: 0 / 0.642 GB, free: 4.844 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.1304, allocations: 117.1 kB / 0.6422 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.103e-05/0.1304, allocations: 15.88 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.1304, allocations: 0 / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.1305, allocations: 11.98 kB / 0.6422 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.354e-05/0.1305, allocations: 0 / 0.6422 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.896e-06/0.1305, allocations: 0 / 0.6422 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.131, allocations: 347.3 kB / 0.6425 GB, free: 4.363 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.131, allocations: 4 kB / 0.6425 GB, free: 4.359 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.131, allocations: 7.922 kB / 0.6425 GB, free: 4.352 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1312, allocations: 136 kB / 0.6427 GB, free: 4.219 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1313, allocations: 0 / 0.6427 GB, free: 4.219 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1313, allocations: 0 / 0.6427 GB, free: 4.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1313, allocations: 0 / 0.6427 GB, free: 4.219 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.000361/0.1316, allocations: 360.9 kB / 0.643 GB, free: 3.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1317, allocations: 15.97 kB / 0.643 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1317, allocations: 0.9375 kB / 0.643 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1318, allocations: 164.4 kB / 0.6432 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1318, allocations: 384 / 0.6432 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.1319, allocations: 4.375 kB / 0.6432 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.95e-05/0.1319, allocations: 37.81 kB / 0.6432 GB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.132, allocations: 0 / 0.6432 GB, free: 3.559 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.132, allocations: 3.938 kB / 0.6432 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.132, allocations: 8 kB / 0.6432 GB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.157e-05/0.132, allocations: 0 / 0.6432 GB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1321, allocations: 153.7 kB / 0.6434 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.178e-05/0.1322, allocations: 18.61 kB / 0.6434 GB, free: 3.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.1322, allocations: 12.92 kB / 0.6434 GB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1322, allocations: 0 / 0.6434 GB, free: 3.305 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1323, allocations: 38.5 kB / 0.6434 GB, free: 3.258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1323, allocations: 0 / 0.6434 GB, free: 3.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001145/0.1324, allocations: 49.62 kB / 0.6435 GB, free: 3.203 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.1324, allocations: 51.41 kB / 0.6435 GB, free: 3.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.873e-05/0.1325, allocations: 93.86 kB / 0.6436 GB, free: 3.039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.1325, allocations: 25.7 kB / 0.6437 GB, free: 3.008 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.1325, allocations: 80.14 kB / 0.6437 GB, free: 2.926 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1325, allocations: 7.891 kB / 0.6437 GB, free: 2.918 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1326, allocations: 21.97 kB / 0.6438 GB, free: 2.891 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.1327, allocations: 310.8 kB / 0.6441 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1327, allocations: 0 / 0.6441 GB, free: 2.578 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-06/0.1327, allocations: 4 kB / 0.6441 GB, free: 2.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.724e-05/0.1327, allocations: 16.8 kB / 0.6441 GB, free: 2.555 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1327, allocations: 0 / 0.6441 GB, free: 2.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.393e-05/0.1328, allocations: 41.62 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1328, allocations: 13.19 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1328, allocations: 4.094 kB / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1329, allocations: 0 / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.133, allocations: 16.02 kB / 0.6441 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003299/0.1334, allocations: 0.5898 MB / 0.6447 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1334, allocations: 4 kB / 0.6447 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1334, allocations: 0 / 0.6447 GB, free: 1.859 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 6.482e-05/0.1335, allocations: 119.2 kB / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-06/0.1335, allocations: 0 / 0.6448 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.766e-05/0.1336, allocations: 44.81 kB / 0.6449 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1336, allocations: 0 / 0.6449 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1336, allocations: 0 / 0.6449 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1336, allocations: 0 / 0.6449 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.703e-05/0.1337, allocations: 161.5 kB / 0.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1337, allocations: 0 / 0.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.1338, allocations: 8 kB / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1338, allocations: 4.031 kB / 0.645 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.1338, allocations: 0 / 0.645 GB, free: 1.465 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002733/0.1341, allocations: 0.5937 MB / 0.6456 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1341, allocations: 0 / 0.6456 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1344, allocations: 0.6085 MB / 0.6462 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.1344, allocations: 85.02 kB / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.1344, allocations: 0 / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.37e-05/0.1345, allocations: 0 / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1345, allocations: 3.984 kB / 0.6463 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1345, allocations: 0 / 0.6463 GB, free: 76 kB / 442.7 MB Notification: Performance of sorting global known variables: time 4.021e-05/0.1345, allocations: 79.28 kB / 0.6464 GB, free: 16 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1345, allocations: 128 / 0.6464 GB, free: 16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003123/0.1348, allocations: 20 kB / 0.6464 GB, free: 15.98 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.0001359/0.135, allocations: 107.2 kB / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.1351, allocations: 23.92 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1352, allocations: 0 / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.383e-05/0.1352, allocations: 11.98 kB / 0.6465 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1354, allocations: 18.31 kB / 0.6466 GB, free: 15.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.1357, allocations: 203.3 kB / 0.6467 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.1359, allocations: 0.6731 MB / 0.6474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.1359, allocations: 0 / 0.6474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.114e-05/0.136, allocations: 7.438 kB / 0.6474 GB, free: 14.86 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.136, allocations: 0 / 0.6474 GB, free: 14.86 MB / 458.7 MB Notification: Performance of Templates: time 0.001913/0.1379, allocations: 433.9 kB / 0.6478 GB, free: 14.44 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)