Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001659/0.001659, 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.7182/0.7182, allocations: 133.4 MB / 150.1 MB, free: 11.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.387/1.387, allocations: 222.9 MB / 404.7 MB, free: 6.105 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: 118.1 kB / 485.9 MB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000968/0.0009681, allocations: 51.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1239, allocations: 80.43 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002213/0.1262, allocations: 1.302 MB / 0.6434 GB, free: 4.098 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008798/0.1271, allocations: 0.6048 MB / 0.644 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.1271, allocations: 0 / 0.644 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.1272, allocations: 3.938 kB / 0.644 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.556e-05/0.1272, allocations: 0 / 0.644 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1276, allocations: 120.6 kB / 0.6441 GB, free: 3.371 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.242e-05/0.1277, allocations: 19.86 kB / 0.6441 GB, free: 3.352 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.1277, allocations: 0 / 0.6441 GB, free: 3.352 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.1277, allocations: 4 kB / 0.6441 GB, free: 3.348 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.484e-05/0.1278, allocations: 4 kB / 0.6442 GB, free: 3.344 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.1278, allocations: 4 kB / 0.6442 GB, free: 3.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004855/0.1283, allocations: 343.3 kB / 0.6445 GB, free: 3.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1283, allocations: 0 / 0.6445 GB, free: 3.004 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.1283, allocations: 3.938 kB / 0.6445 GB, free: 3 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1285, allocations: 136 kB / 0.6446 GB, free: 2.867 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1286, allocations: 0 / 0.6446 GB, free: 2.867 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1286, allocations: 0 / 0.6446 GB, free: 2.867 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1286, allocations: 0 / 0.6446 GB, free: 2.867 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.0003623/0.1289, allocations: 363.3 kB / 0.645 GB, free: 2.465 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.129, allocations: 16.03 kB / 0.645 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.129, allocations: 0.9375 kB / 0.645 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1291, allocations: 160.4 kB / 0.6451 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1292, allocations: 384 / 0.6451 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.1292, allocations: 4.375 kB / 0.6451 GB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.048e-05/0.1292, allocations: 37.81 kB / 0.6452 GB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1293, allocations: 4 kB / 0.6452 GB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1293, allocations: 0 / 0.6452 GB, free: 2.203 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1293, allocations: 4 kB / 0.6452 GB, free: 2.199 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.1293, allocations: 11.94 kB / 0.6452 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.1295, allocations: 145.7 kB / 0.6453 GB, free: 1.996 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.1295, allocations: 26.59 kB / 0.6454 GB, free: 1.961 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.1295, allocations: 4.859 kB / 0.6454 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.1296, allocations: 3.984 kB / 0.6454 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1296, allocations: 38.56 kB / 0.6454 GB, free: 1.902 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1296, allocations: 4 kB / 0.6454 GB, free: 1.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001268/0.1297, allocations: 41.64 kB / 0.6454 GB, free: 1.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1298, allocations: 55.39 kB / 0.6455 GB, free: 1.785 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.278e-05/0.1298, allocations: 97.86 kB / 0.6456 GB, free: 1.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1299, allocations: 25.7 kB / 0.6456 GB, free: 1.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.1299, allocations: 80.14 kB / 0.6457 GB, free: 1.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1299, allocations: 3.906 kB / 0.6457 GB, free: 1.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.13, allocations: 13.97 kB / 0.6457 GB, free: 1.543 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.1301, allocations: 326.8 kB / 0.646 GB, free: 1.215 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.1301, allocations: 4 kB / 0.646 GB, free: 1.211 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.1301, allocations: 0 / 0.646 GB, free: 1.211 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.1301, allocations: 12.86 kB / 0.646 GB, free: 1.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1301, allocations: 4 kB / 0.646 GB, free: 1.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.564e-05/0.1302, allocations: 41.58 kB / 0.6461 GB, free: 1.145 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1302, allocations: 5.875 kB / 0.6461 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1302, allocations: 8.031 kB / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1302, allocations: 0 / 0.6461 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1304, allocations: 16.02 kB / 0.6461 GB, free: 1.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003264/0.1307, allocations: 0.582 MB / 0.6467 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.1308, allocations: 0 / 0.6467 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.1308, allocations: 4.031 kB / 0.6467 GB, free: 0.5078 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 7.446e-05/0.1308, allocations: 121.9 kB / 0.6468 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.1309, allocations: 0 / 0.6468 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.131, allocations: 48.75 kB / 0.6468 GB, free: 336 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.131, allocations: 0 / 0.6468 GB, free: 336 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.131, allocations: 7.984 kB / 0.6469 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.131, allocations: 0 / 0.6469 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.888e-05/0.1311, allocations: 145.6 kB / 0.647 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1311, allocations: 0 / 0.647 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.1312, allocations: 11.98 kB / 0.647 GB, free: 120 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1312, allocations: 4.031 kB / 0.647 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1312, allocations: 4 kB / 0.647 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002948/0.1315, allocations: 0.5898 MB / 0.6476 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1315, allocations: 0 / 0.6476 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1318, allocations: 0.6163 MB / 0.6482 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.1318, allocations: 81.02 kB / 0.6483 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.047e-06/0.1318, allocations: 0 / 0.6483 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.1319, allocations: 0 / 0.6483 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.1319, allocations: 4 kB / 0.6483 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1319, allocations: 4 kB / 0.6483 GB, free: 14.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.1319, allocations: 75.28 kB / 0.6483 GB, free: 14.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1319, allocations: 0 / 0.6483 GB, free: 14.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.1322, allocations: 16.12 kB / 0.6484 GB, free: 14.62 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.0001455/0.1324, allocations: 111.2 kB / 0.6485 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1325, allocations: 19.98 kB / 0.6485 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1325, allocations: 0 / 0.6485 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.1326, allocations: 19.92 kB / 0.6485 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.1328, allocations: 9.25 kB / 0.6485 GB, free: 14.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.1331, allocations: 207.2 kB / 0.6487 GB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1334, allocations: 0.677 MB / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.533e-05/0.1334, allocations: 0 / 0.6494 GB, free: 13.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.1334, allocations: 11.44 kB / 0.6494 GB, free: 13.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1334, allocations: 0 / 0.6494 GB, free: 13.5 MB / 458.7 MB Notification: Performance of Templates: time 0.002013/0.1354, allocations: 439.8 kB / 0.6498 GB, free: 13.07 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)