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.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001557/0.001558, allocations: 191.4 kB / 16.13 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7483/0.7483, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 65.16 kB / 0.5011 GB, free: 4.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.411, allocations: 80.2 MB / 0.5794 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002655/0.4137, allocations: 1.305 MB / 0.5807 GB, free: 3.629 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.4148, allocations: 0.6158 MB / 0.5813 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.4148, allocations: 0 / 0.5813 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.4149, allocations: 0 / 0.5813 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.4149, allocations: 1.438 kB / 0.5813 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.4154, allocations: 120.5 kB / 0.5814 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.4154, allocations: 6.375 kB / 0.5814 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.4155, allocations: 1.875 kB / 0.5814 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.108e-05/0.4155, allocations: 9.969 kB / 0.5814 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.4156, allocations: 3.766 kB / 0.5814 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.4156, allocations: 0 / 0.5814 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.4161, allocations: 345.3 kB / 0.5818 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.4162, allocations: 1.312 kB / 0.5818 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.4162, allocations: 9.422 kB / 0.5818 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002716/0.4165, allocations: 137.2 kB / 0.5819 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4165, allocations: 0 / 0.5819 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4165, allocations: 1.062 kB / 0.5819 GB, free: 2.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.4165, allocations: 0 / 0.5819 GB, free: 2.992 MB / 430.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.000362/0.4168, allocations: 360.4 kB / 0.5823 GB, free: 2.609 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4169, allocations: 10.31 kB / 0.5823 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.4169, allocations: 2.344 kB / 0.5823 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.872e-05/0.417, allocations: 161.7 kB / 0.5824 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.417, allocations: 1.719 kB / 0.5824 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.417, allocations: 384 / 0.5824 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.883e-05/0.4171, allocations: 43.22 kB / 0.5825 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4171, allocations: 0 / 0.5825 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.4172, allocations: 1.312 kB / 0.5825 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4172, allocations: 7.984 kB / 0.5825 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.4172, allocations: 3.906 kB / 0.5825 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.4173, allocations: 151.2 kB / 0.5826 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.555e-05/0.4174, allocations: 24.23 kB / 0.5826 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.4174, allocations: 8.859 kB / 0.5827 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.4174, allocations: 0 / 0.5827 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4174, allocations: 48.41 kB / 0.5827 GB, free: 2.082 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.4175, allocations: 0 / 0.5827 GB, free: 2.082 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001272/0.4176, allocations: 36.61 kB / 0.5827 GB, free: 2.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.4176, allocations: 53.48 kB / 0.5828 GB, free: 1.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.4177, allocations: 101.7 kB / 0.5829 GB, free: 1.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-06/0.4177, allocations: 25.7 kB / 0.5829 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.393e-05/0.4177, allocations: 80.83 kB / 0.583 GB, free: 1.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.4177, allocations: 9.328 kB / 0.583 GB, free: 1.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/0.4178, allocations: 20.98 kB / 0.583 GB, free: 1.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.297e-05/0.4178, allocations: 313.8 kB / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.4178, allocations: 1.469 kB / 0.5833 GB, free: 1.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.4178, allocations: 7.188 kB / 0.5833 GB, free: 1.422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.608e-05/0.4179, allocations: 14.58 kB / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4179, allocations: 0 / 0.5833 GB, free: 1.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.198e-05/0.4179, allocations: 39.66 kB / 0.5834 GB, free: 1.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.418, allocations: 9.156 kB / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.418, allocations: 0.7031 kB / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.418, allocations: 0.9688 kB / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.4182, allocations: 10.44 kB / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002538/0.4184, allocations: 0.5869 MB / 0.584 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.4184, allocations: 9.094 kB / 0.584 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.4185, allocations: 0 / 0.584 GB, free: 0.7695 MB / 430.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 5.691e-05/0.4185, allocations: 118.8 kB / 0.5841 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.4185, allocations: 0.7031 kB / 0.5841 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.4187, allocations: 43.95 kB / 0.5841 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.4187, allocations: 0.6875 kB / 0.5841 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4187, allocations: 0.7031 kB / 0.5841 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4187, allocations: 0.9688 kB / 0.5841 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.4188, allocations: 151.7 kB / 0.5843 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4188, allocations: 3.938 kB / 0.5843 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.4189, allocations: 17.78 kB / 0.5843 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4189, allocations: 1 kB / 0.5843 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4189, allocations: 4.906 kB / 0.5843 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003797/0.4193, allocations: 0.5835 MB / 0.5849 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4193, allocations: 0 / 0.5849 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4195, allocations: 69.41 kB / 0.5849 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.4195, allocations: 78.62 kB / 0.585 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.4196, allocations: 1.188 kB / 0.585 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.4196, allocations: 4.734 kB / 0.585 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.42e-05/0.4196, allocations: 2.797 kB / 0.585 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.4196, allocations: 0 / 0.585 GB, free: 15.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.4197, allocations: 78.17 kB / 0.5851 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4197, allocations: 0 / 0.5851 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.4199, allocations: 10.88 kB / 0.5851 GB, free: 15.56 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.0002893/0.4202, allocations: 113.1 kB / 0.5852 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.4205, allocations: 21.14 kB / 0.5852 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4205, allocations: 3.938 kB / 0.5852 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4206, allocations: 17.7 kB / 0.5853 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.4208, allocations: 5.312 kB / 0.5853 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.4213, allocations: 116.1 kB / 0.5854 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4217, allocations: 0.674 MB / 0.586 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.926e-05/0.4217, allocations: 0.6562 kB / 0.586 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.4217, allocations: 8.469 kB / 0.586 GB, free: 14.63 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4217, allocations: 0 / 0.586 GB, free: 14.63 MB / 446.1 MB Notification: Performance of Templates: time 0.003133/0.4248, allocations: 439.5 kB / 0.5865 GB, free: 14.58 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)