Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001655/0.001655, allocations: 107.1 kB / 15.99 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.001884/0.001884, allocations: 192.6 kB / 16.91 MB, free: 6.195 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8657/0.8657, allocations: 135.2 MB / 425.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 55.91 kB / 0.5055 GB, free: 8.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3435, allocations: 80.92 MB / 0.5846 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001926/0.3455, allocations: 1.307 MB / 0.5858 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.3462, allocations: 0.5853 MB / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.3463, allocations: 2.375 kB / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.3463, allocations: 3.375 kB / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.3463, allocations: 0 / 0.5864 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.3468, allocations: 122.4 kB / 0.5865 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.621e-05/0.3468, allocations: 9.609 kB / 0.5865 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.3468, allocations: 5.094 kB / 0.5866 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.45e-05/0.3469, allocations: 2.75 kB / 0.5866 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.176e-05/0.3469, allocations: 2.125 kB / 0.5866 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.3469, allocations: 2.031 kB / 0.5866 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003778/0.3473, allocations: 352.6 kB / 0.5869 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.3473, allocations: 5.719 kB / 0.5869 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.3473, allocations: 5.188 kB / 0.5869 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.3475, allocations: 96.8 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3475, allocations: 0 / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3475, allocations: 1.469 kB / 0.587 GB, free: 23.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.3475, allocations: 1.312 kB / 0.587 GB, free: 23.09 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.0002739/0.3478, allocations: 351.5 kB / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3478, allocations: 11.86 kB / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.378e-05/0.3478, allocations: 2.188 kB / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.935e-05/0.3479, allocations: 168.3 kB / 0.5875 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.3479, allocations: 2.312 kB / 0.5875 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-06/0.3479, allocations: 1.781 kB / 0.5875 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.396e-05/0.348, allocations: 38.64 kB / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.348, allocations: 0 / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3481, allocations: 1.375 kB / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3481, allocations: 3.938 kB / 0.5876 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.3481, allocations: 6.703 kB / 0.5876 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.997e-05/0.3482, allocations: 153.4 kB / 0.5877 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.3482, allocations: 24.95 kB / 0.5877 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.3483, allocations: 11.17 kB / 0.5877 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3483, allocations: 2.5 kB / 0.5877 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.3483, allocations: 40.23 kB / 0.5878 GB, free: 22.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3483, allocations: 0.5312 kB / 0.5878 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001176/0.3484, allocations: 39.73 kB / 0.5878 GB, free: 22.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.3485, allocations: 52.31 kB / 0.5879 GB, free: 22.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.257e-05/0.3485, allocations: 97.23 kB / 0.588 GB, free: 21.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.3485, allocations: 34.53 kB / 0.588 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.239e-05/0.3485, allocations: 81.48 kB / 0.5881 GB, free: 21.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3486, allocations: 10.06 kB / 0.5881 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.3486, allocations: 11.12 kB / 0.5881 GB, free: 21.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.3486, allocations: 316.7 kB / 0.5884 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.3487, allocations: 3.781 kB / 0.5884 GB, free: 21.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-06/0.3487, allocations: 2.25 kB / 0.5884 GB, free: 21.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.3487, allocations: 13.8 kB / 0.5884 GB, free: 21.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3487, allocations: 5.234 kB / 0.5884 GB, free: 21.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.748e-05/0.3488, allocations: 38.77 kB / 0.5885 GB, free: 21.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3488, allocations: 7 kB / 0.5885 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.3488, allocations: 0 / 0.5885 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3488, allocations: 1.469 kB / 0.5885 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.3489, allocations: 14.86 kB / 0.5885 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002013/0.3491, allocations: 0.5843 MB / 0.5891 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.3492, allocations: 5.062 kB / 0.5891 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.3492, allocations: 1.094 kB / 0.5891 GB, free: 20.87 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.285e-05/0.3492, allocations: 115.8 kB / 0.5892 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.3492, allocations: 5.219 kB / 0.5892 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.1e-05/0.3493, allocations: 50.59 kB / 0.5892 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3493, allocations: 0 / 0.5892 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3493, allocations: 2.188 kB / 0.5892 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3493, allocations: 0 / 0.5892 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.866e-05/0.3494, allocations: 153 kB / 0.5894 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3494, allocations: 0 / 0.5894 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.714e-05/0.3495, allocations: 21.08 kB / 0.5894 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3495, allocations: 0 / 0.5894 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3495, allocations: 1.281 kB / 0.5894 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001532/0.3497, allocations: 0.5897 MB / 0.59 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3497, allocations: 0 / 0.59 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.672e-05/0.3497, allocations: 67.97 kB / 0.59 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.3497, allocations: 78.52 kB / 0.5901 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.3498, allocations: 0 / 0.5901 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.3498, allocations: 5.094 kB / 0.5901 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.3498, allocations: 2.25 kB / 0.5901 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.3498, allocations: 0 / 0.5901 GB, free: 19.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.575e-05/0.3498, allocations: 79.72 kB / 0.5902 GB, free: 19.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3498, allocations: 0 / 0.5902 GB, free: 19.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002013/0.35, allocations: 7.562 kB / 0.5902 GB, free: 19.65 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.0001317/0.3502, allocations: 110.5 kB / 0.5903 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.3503, allocations: 26.48 kB / 0.5903 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3503, allocations: 1.219 kB / 0.5903 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.465e-05/0.3504, allocations: 14.36 kB / 0.5903 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3506, allocations: 6.438 kB / 0.5903 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.3508, allocations: 130.4 kB / 0.5905 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.631e-05/0.3509, allocations: 0.6725 MB / 0.5911 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.3509, allocations: 7.438 kB / 0.5911 GB, free: 18.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3509, allocations: 1.562 kB / 0.5911 GB, free: 18.69 MB / 446.1 MB Notification: Performance of Templates: time 0.002366/0.3533, allocations: 0.6962 MB / 0.5918 GB, free: 18.37 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)