Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001114/0.001115, allocations: 182.3 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.6839/0.6839, allocations: 132.2 MB / 148.9 MB, free: 12.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.365/1.365, allocations: 222.9 MB / 403.4 MB, free: 7.07 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.0009321/0.0009321, allocations: 93.59 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009877/0.0009878, allocations: 47.92 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1263, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002327/0.1286, allocations: 1.315 MB / 0.6415 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.1295, allocations: 0.6044 MB / 0.642 GB, free: 4.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.286e-05/0.1295, allocations: 0 / 0.642 GB, free: 4.848 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1296, allocations: 0 / 0.642 GB, free: 4.848 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.1296, allocations: 7.969 kB / 0.6421 GB, free: 4.84 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.13, allocations: 115.6 kB / 0.6422 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.41e-05/0.1301, allocations: 11.88 kB / 0.6422 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.1301, allocations: 4 kB / 0.6422 GB, free: 4.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.1301, allocations: 7.984 kB / 0.6422 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.1302, allocations: 4 kB / 0.6422 GB, free: 4.699 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1302, allocations: 4 kB / 0.6422 GB, free: 4.695 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.1306, allocations: 343.3 kB / 0.6425 GB, free: 4.359 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-06/0.1306, allocations: 0 / 0.6425 GB, free: 4.359 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.1307, allocations: 3.938 kB / 0.6425 GB, free: 4.355 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.1309, allocations: 136 kB / 0.6427 GB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1309, allocations: 0 / 0.6427 GB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1309, allocations: 3.938 kB / 0.6427 GB, free: 4.219 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1309, 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.0003462/0.1313, allocations: 355.4 kB / 0.643 GB, free: 3.824 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1313, allocations: 16.02 kB / 0.643 GB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.517e-05/0.1313, allocations: 0.9375 kB / 0.643 GB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/0.1314, allocations: 168.4 kB / 0.6432 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1315, allocations: 384 / 0.6432 GB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1315, allocations: 8.359 kB / 0.6432 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.437e-05/0.1316, allocations: 37.77 kB / 0.6432 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.1316, allocations: 0 / 0.6432 GB, free: 3.555 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1316, allocations: 4 kB / 0.6432 GB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1316, allocations: 0 / 0.6432 GB, free: 3.551 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.453e-05/0.1316, allocations: 11.92 kB / 0.6432 GB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1318, allocations: 145.7 kB / 0.6434 GB, free: 3.348 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.488e-05/0.1318, allocations: 26.61 kB / 0.6434 GB, free: 3.312 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.1318, allocations: 8.844 kB / 0.6434 GB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1319, allocations: 0 / 0.6434 GB, free: 3.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1319, allocations: 46.5 kB / 0.6435 GB, free: 3.246 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1319, allocations: 0 / 0.6435 GB, free: 3.246 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001097/0.132, allocations: 37.7 kB / 0.6435 GB, free: 3.203 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.132, allocations: 51.41 kB / 0.6435 GB, free: 3.141 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.1321, allocations: 97.84 kB / 0.6436 GB, free: 3.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.1321, allocations: 25.7 kB / 0.6437 GB, free: 3.004 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.1322, allocations: 80.39 kB / 0.6437 GB, free: 2.922 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1322, allocations: 11.91 kB / 0.6437 GB, free: 2.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.1322, allocations: 13.72 kB / 0.6438 GB, free: 2.891 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.1323, allocations: 310.8 kB / 0.6441 GB, free: 2.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.1323, allocations: 4 kB / 0.6441 GB, free: 2.574 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.1323, allocations: 0 / 0.6441 GB, free: 2.574 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.179e-05/0.1324, allocations: 20.78 kB / 0.6441 GB, free: 2.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1324, allocations: 7.938 kB / 0.6441 GB, free: 2.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.72e-05/0.1325, allocations: 45.7 kB / 0.6441 GB, free: 2.492 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1325, allocations: 4 kB / 0.6441 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.1325, allocations: 0 / 0.6441 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1325, allocations: 0 / 0.6441 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.1326, allocations: 16.02 kB / 0.6441 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003263/0.133, allocations: 0.5859 MB / 0.6447 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.133, allocations: 0 / 0.6447 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.133, allocations: 4.156 kB / 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 7.923e-05/0.1331, allocations: 115.1 kB / 0.6448 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.1331, allocations: 0 / 0.6448 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.541e-05/0.1332, allocations: 44.81 kB / 0.6449 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1332, allocations: 0 / 0.6449 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1332, allocations: 8 kB / 0.6449 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1332, allocations: 0 / 0.6449 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.065e-05/0.1333, allocations: 153.6 kB / 0.645 GB, free: 1.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1333, allocations: 4.031 kB / 0.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.1334, allocations: 15.92 kB / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1334, allocations: 4 kB / 0.6451 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1334, allocations: 0 / 0.6451 GB, free: 1.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002812/0.1337, allocations: 0.5821 MB / 0.6456 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1337, allocations: 0 / 0.6456 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.134, allocations: 0.6124 MB / 0.6462 GB, free: 184 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.134, allocations: 85 kB / 0.6463 GB, free: 80 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-06/0.1341, allocations: 3.938 kB / 0.6463 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.1341, allocations: 0 / 0.6463 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1341, allocations: 4 kB / 0.6463 GB, free: 72 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.1341, allocations: 0 / 0.6463 GB, free: 72 kB / 442.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.1342, allocations: 83.31 kB / 0.6464 GB, free: 15.99 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1342, allocations: 0 / 0.6464 GB, free: 15.99 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.1344, allocations: 12 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.0001346/0.1346, allocations: 112 kB / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1347, allocations: 19.92 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1347, allocations: 0 / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.1348, allocations: 24.08 kB / 0.6465 GB, free: 15.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.135, allocations: 9.266 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.0003256/0.1353, allocations: 195.2 kB / 0.6467 GB, free: 15.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.1355, allocations: 0.677 MB / 0.6474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.459e-05/0.1355, allocations: 0 / 0.6474 GB, free: 14.87 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.045e-05/0.1356, allocations: 7.438 kB / 0.6474 GB, free: 14.86 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1356, allocations: 8 kB / 0.6474 GB, free: 14.85 MB / 458.7 MB Notification: Performance of Templates: time 0.001968/0.1375, allocations: 445 kB / 0.6478 GB, free: 14.42 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)