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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 102.2 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 197 kB / 16.91 MB, free: 6.191 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7601/0.7601, allocations: 132.2 MB / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 0.5019 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3813, allocations: 80.19 MB / 0.5802 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002494/0.3839, allocations: 1.311 MB / 0.5815 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.3847, allocations: 0.5901 MB / 0.5821 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.3848, allocations: 0 / 0.5821 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.3848, allocations: 1.062 kB / 0.5821 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.3849, allocations: 0 / 0.5821 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.3855, allocations: 125.1 kB / 0.5822 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.3856, allocations: 10.16 kB / 0.5822 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3856, allocations: 1.156 kB / 0.5822 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.3856, allocations: 1.562 kB / 0.5822 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.376e-05/0.3857, allocations: 16.06 kB / 0.5822 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3857, allocations: 0 / 0.5822 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.3862, allocations: 342.6 kB / 0.5826 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.3862, allocations: 0 / 0.5826 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.3862, allocations: 6.812 kB / 0.5826 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3864, allocations: 96.3 kB / 0.5826 GB, free: 25.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3864, allocations: 0 / 0.5826 GB, free: 25.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3865, allocations: 1.281 kB / 0.5826 GB, free: 25.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.3865, allocations: 0 / 0.5826 GB, free: 25.5 MB / 446.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.0003592/0.3868, allocations: 355.8 kB / 0.583 GB, free: 25.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3869, allocations: 11.47 kB / 0.583 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3869, allocations: 2.156 kB / 0.583 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.387, allocations: 165.9 kB / 0.5832 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.387, allocations: 4.312 kB / 0.5832 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.387, allocations: 1.969 kB / 0.5832 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.3871, allocations: 37.2 kB / 0.5832 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3872, allocations: 5 kB / 0.5832 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3872, allocations: 1.625 kB / 0.5832 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3872, allocations: 0 / 0.5832 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.3872, allocations: 8.484 kB / 0.5832 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.3873, allocations: 148.5 kB / 0.5834 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.701e-05/0.3874, allocations: 24.3 kB / 0.5834 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.3874, allocations: 19.69 kB / 0.5834 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.3875, allocations: 1.094 kB / 0.5834 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3875, allocations: 39.91 kB / 0.5834 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3875, allocations: 0 / 0.5834 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001457/0.3876, allocations: 34.58 kB / 0.5835 GB, free: 24.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3877, allocations: 56.5 kB / 0.5835 GB, free: 24.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.3877, allocations: 96.09 kB / 0.5836 GB, free: 24.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.3877, allocations: 30.98 kB / 0.5836 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.511e-05/0.3878, allocations: 80.92 kB / 0.5837 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.3878, allocations: 9.25 kB / 0.5837 GB, free: 24.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3878, allocations: 17.06 kB / 0.5837 GB, free: 24.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.3879, allocations: 311.9 kB / 0.584 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.3879, allocations: 2.5 kB / 0.584 GB, free: 23.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.3879, allocations: 5.984 kB / 0.5841 GB, free: 23.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.747e-05/0.3879, allocations: 16.7 kB / 0.5841 GB, free: 23.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.388, allocations: 0 / 0.5841 GB, free: 23.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.743e-05/0.388, allocations: 38.3 kB / 0.5841 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.388, allocations: 5.75 kB / 0.5841 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.388, allocations: 1.344 kB / 0.5841 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.3881, allocations: 0 / 0.5841 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3882, allocations: 16.39 kB / 0.5841 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002487/0.3885, allocations: 0.5875 MB / 0.5847 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.3885, allocations: 5.234 kB / 0.5847 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.3885, allocations: 1.188 kB / 0.5847 GB, free: 23.27 MB / 446.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 4.948e-05/0.3886, allocations: 113.1 kB / 0.5848 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-06/0.3886, allocations: 1.219 kB / 0.5848 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.231e-05/0.3887, allocations: 49.81 kB / 0.5849 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3887, allocations: 1.312 kB / 0.5849 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3887, allocations: 0 / 0.5849 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3887, allocations: 1.344 kB / 0.5849 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.704e-05/0.3888, allocations: 164.6 kB / 0.585 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3888, allocations: 1.156 kB / 0.585 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.3889, allocations: 14.92 kB / 0.585 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3889, allocations: 5.156 kB / 0.585 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.3889, allocations: 4.656 kB / 0.5851 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001857/0.3891, allocations: 0.5848 MB / 0.5856 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3891, allocations: 0.6875 kB / 0.5856 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.735e-05/0.3892, allocations: 68.19 kB / 0.5857 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.3892, allocations: 82.23 kB / 0.5858 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3892, allocations: 1.344 kB / 0.5858 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.446e-05/0.3892, allocations: 3.938 kB / 0.5858 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.3892, allocations: 3.938 kB / 0.5858 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.3893, allocations: 0 / 0.5858 GB, free: 22.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.087e-05/0.3893, allocations: 77.75 kB / 0.5858 GB, free: 22.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3893, allocations: 0 / 0.5858 GB, free: 22.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000214/0.3895, allocations: 14.42 kB / 0.5859 GB, free: 22.04 MB / 446.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.0001492/0.3897, allocations: 108.8 kB / 0.586 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3898, allocations: 21.39 kB / 0.586 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3898, allocations: 0 / 0.586 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.3899, allocations: 14.7 kB / 0.586 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3901, allocations: 7.219 kB / 0.586 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.3904, allocations: 124.9 kB / 0.5861 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.834e-05/0.3905, allocations: 0.6756 MB / 0.5868 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.3905, allocations: 9.812 kB / 0.5868 GB, free: 21.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3905, allocations: 0 / 0.5868 GB, free: 21.08 MB / 446.1 MB Notification: Performance of Templates: time 0.002297/0.3928, allocations: 0.6942 MB / 0.5875 GB, free: 20.76 MB / 446.1 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)