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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 198.4 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7494/0.7494, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.89 kB / 0.5018 GB, free: 8.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1521, allocations: 80.21 MB / 0.5801 GB, free: 8.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002724/0.1549, allocations: 1.245 MB / 0.5813 GB, free: 7.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.156, allocations: 0.5855 MB / 0.5819 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.156, allocations: 4 kB / 0.5819 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.156, allocations: 0 / 0.5819 GB, free: 6.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.523e-05/0.1561, allocations: 7.922 kB / 0.5819 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.1567, allocations: 131.5 kB / 0.582 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.1568, allocations: 7.938 kB / 0.582 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.1569, allocations: 7.984 kB / 0.582 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.1569, allocations: 11.94 kB / 0.582 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.1569, allocations: 4 kB / 0.582 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.157, allocations: 0 / 0.582 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.1575, allocations: 343.3 kB / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.1575, allocations: 0 / 0.5824 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.1575, allocations: 7.938 kB / 0.5824 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1578, allocations: 140 kB / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1578, allocations: 0 / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1578, allocations: 0 / 0.5825 GB, free: 6.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1578, allocations: 0 / 0.5825 GB, free: 6.266 MB / 494.1 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.0003924/0.1582, allocations: 363.4 kB / 0.5829 GB, free: 5.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1583, allocations: 8.031 kB / 0.5829 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.1583, allocations: 8.844 kB / 0.5829 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1584, allocations: 164.4 kB / 0.583 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1585, allocations: 384 / 0.583 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.1585, allocations: 4.375 kB / 0.583 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.397e-05/0.1586, allocations: 41.75 kB / 0.5831 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1586, allocations: 3.938 kB / 0.5831 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.1586, allocations: 4 kB / 0.5831 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1586, allocations: 0 / 0.5831 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.1586, allocations: 4 kB / 0.5831 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1588, allocations: 149.7 kB / 0.5832 GB, free: 5.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.129e-05/0.1589, allocations: 26.56 kB / 0.5833 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.1589, allocations: 12.92 kB / 0.5833 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1589, allocations: 0 / 0.5833 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.159, allocations: 42.44 kB / 0.5833 GB, free: 5.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.159, allocations: 0 / 0.5833 GB, free: 5.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.1591, allocations: 41.7 kB / 0.5833 GB, free: 5.242 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1592, allocations: 55.39 kB / 0.5834 GB, free: 5.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.1592, allocations: 89.86 kB / 0.5835 GB, free: 5.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.1592, allocations: 25.7 kB / 0.5835 GB, free: 5.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.1593, allocations: 84.39 kB / 0.5836 GB, free: 4.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1593, allocations: 11.91 kB / 0.5836 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.1594, allocations: 9.719 kB / 0.5836 GB, free: 4.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1595, allocations: 314.8 kB / 0.5839 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.1595, allocations: 3.984 kB / 0.5839 GB, free: 4.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.1595, allocations: 8 kB / 0.5839 GB, free: 4.605 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.881e-05/0.1595, allocations: 12.8 kB / 0.5839 GB, free: 4.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1596, allocations: 0 / 0.5839 GB, free: 4.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.345e-05/0.1596, allocations: 45.7 kB / 0.584 GB, free: 4.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1596, allocations: 4 kB / 0.584 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1597, allocations: 4 kB / 0.584 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1597, allocations: 0 / 0.584 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.1598, allocations: 11.98 kB / 0.584 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003444/0.1602, allocations: 0.5821 MB / 0.5846 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1602, allocations: 3.938 kB / 0.5846 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1602, allocations: 4.125 kB / 0.5846 GB, free: 3.906 MB / 494.1 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.182e-05/0.1603, allocations: 118.5 kB / 0.5847 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-06/0.1603, allocations: 0 / 0.5847 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1604, allocations: 44.73 kB / 0.5847 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-06/0.1605, allocations: 0 / 0.5847 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1605, allocations: 0 / 0.5847 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.1605, allocations: 3.984 kB / 0.5847 GB, free: 3.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.1606, allocations: 153.6 kB / 0.5849 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1606, allocations: 4.031 kB / 0.5849 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.1607, allocations: 15.92 kB / 0.5849 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1607, allocations: 0 / 0.5849 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1607, allocations: 0 / 0.5849 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.161, allocations: 0.5821 MB / 0.5855 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.161, allocations: 7.922 kB / 0.5855 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.683e-05/0.1611, allocations: 73.19 kB / 0.5855 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.1611, allocations: 77.11 kB / 0.5856 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1612, allocations: 4 kB / 0.5856 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.548e-05/0.1612, allocations: 3.938 kB / 0.5856 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.1612, allocations: 4 kB / 0.5856 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.1612, allocations: 4 kB / 0.5856 GB, free: 2.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.1613, allocations: 79.27 kB / 0.5857 GB, free: 2.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1613, allocations: 128 / 0.5857 GB, free: 2.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.1615, allocations: 12 kB / 0.5857 GB, free: 2.602 MB / 494.1 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.0001521/0.1616, allocations: 115.2 kB / 0.5858 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.1618, allocations: 15.98 kB / 0.5858 GB, free: 2.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1618, allocations: 4 kB / 0.5858 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.495e-05/0.1619, allocations: 15.94 kB / 0.5859 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.162, allocations: 2.344 kB / 0.5859 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.1624, allocations: 116.6 kB / 0.586 GB, free: 2.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.1626, allocations: 0.6806 MB / 0.5866 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.1626, allocations: 0 / 0.5866 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.1626, allocations: 7.438 kB / 0.5867 GB, free: 1.598 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1626, allocations: 4 kB / 0.5867 GB, free: 1.594 MB / 494.1 MB Notification: Performance of Templates: time 0.002417/0.1651, allocations: 434.7 kB / 0.5871 GB, free: 1.199 MB / 494.1 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)