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.001019/0.001019, allocations: 108 kB / 15.61 MB, free: 152 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.001085/0.001085, allocations: 194.9 kB / 16.53 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7281/0.7281, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.42 kB / 0.5018 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4127, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002014/0.4148, allocations: 1.239 MB / 0.5813 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.4156, allocations: 0.5951 MB / 0.5819 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.4156, allocations: 3.938 kB / 0.5819 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.4157, allocations: 1.031 kB / 0.5819 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.834e-05/0.4157, allocations: 4.688 kB / 0.5819 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.4162, allocations: 145.4 kB / 0.582 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.112e-05/0.4163, allocations: 10.38 kB / 0.582 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.4163, allocations: 1.656 kB / 0.582 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.4163, allocations: 10.97 kB / 0.5821 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.4164, allocations: 4.016 kB / 0.5821 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.4164, allocations: 3.938 kB / 0.5821 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.4169, allocations: 337.8 kB / 0.5824 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.4169, allocations: 5.703 kB / 0.5824 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.4169, allocations: 6.062 kB / 0.5824 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.4172, allocations: 137.5 kB / 0.5825 GB, free: 3.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4172, allocations: 4 kB / 0.5825 GB, free: 3.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4172, allocations: 0 / 0.5825 GB, free: 3.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.4172, allocations: 0 / 0.5825 GB, free: 3.02 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.0002886/0.4175, allocations: 356.6 kB / 0.5829 GB, free: 2.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4176, allocations: 9.75 kB / 0.5829 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.4176, allocations: 2.844 kB / 0.5829 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.436e-05/0.4177, allocations: 162.2 kB / 0.583 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4177, allocations: 5.75 kB / 0.583 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/0.4177, allocations: 4.359 kB / 0.583 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.4178, allocations: 39.36 kB / 0.5831 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4178, allocations: 0 / 0.5831 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4178, allocations: 0 / 0.5831 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4178, allocations: 1 kB / 0.5831 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.4178, allocations: 3.312 kB / 0.5831 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.857e-05/0.418, allocations: 151.7 kB / 0.5832 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.927e-05/0.418, allocations: 28.25 kB / 0.5833 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.418, allocations: 11.91 kB / 0.5833 GB, free: 2.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.418, allocations: 5.438 kB / 0.5833 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.4181, allocations: 36.39 kB / 0.5833 GB, free: 2.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4181, allocations: 0 / 0.5833 GB, free: 2.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001195/0.4182, allocations: 41.28 kB / 0.5834 GB, free: 2.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.4182, allocations: 51.41 kB / 0.5834 GB, free: 2.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.441e-05/0.4183, allocations: 98 kB / 0.5835 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.4183, allocations: 27.02 kB / 0.5835 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.388e-05/0.4183, allocations: 84.89 kB / 0.5836 GB, free: 1.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.4183, allocations: 9.969 kB / 0.5836 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.4184, allocations: 16.81 kB / 0.5836 GB, free: 1.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.76e-05/0.4184, allocations: 311.6 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.4184, allocations: 2.531 kB / 0.5839 GB, free: 1.461 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.4184, allocations: 11.16 kB / 0.5839 GB, free: 1.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.4185, allocations: 14.2 kB / 0.5839 GB, free: 1.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4185, allocations: 0 / 0.5839 GB, free: 1.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.33e-05/0.4185, allocations: 44.11 kB / 0.584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4185, allocations: 5.766 kB / 0.584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4186, allocations: 0 / 0.584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4186, allocations: 5.375 kB / 0.584 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.4187, allocations: 9.344 kB / 0.584 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/0.419, allocations: 0.5876 MB / 0.5846 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.419, allocations: 4.516 kB / 0.5846 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.419, allocations: 0.7812 kB / 0.5846 GB, free: 0.8008 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 4.349e-05/0.419, allocations: 117.5 kB / 0.5847 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.4191, allocations: 0.7188 kB / 0.5847 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.759e-05/0.4191, allocations: 48.39 kB / 0.5847 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4192, allocations: 0.9688 kB / 0.5847 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4192, allocations: 4.781 kB / 0.5848 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4192, allocations: 1.312 kB / 0.5848 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.302e-05/0.4192, allocations: 154.5 kB / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4192, allocations: 0 / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.4193, allocations: 10.72 kB / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4193, allocations: 0.75 kB / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.4193, allocations: 1.094 kB / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002136/0.4196, allocations: 0.5868 MB / 0.5855 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4196, allocations: 0.6562 kB / 0.5855 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.662e-05/0.4196, allocations: 65.19 kB / 0.5856 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.4197, allocations: 78.69 kB / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.4197, allocations: 5.828 kB / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.4197, allocations: 0 / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.4197, allocations: 5.422 kB / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.4198, allocations: 1.281 kB / 0.5856 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.182e-05/0.4198, allocations: 81.58 kB / 0.5857 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4198, allocations: 0.8438 kB / 0.5857 GB, free: 15.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.42, allocations: 10.84 kB / 0.5857 GB, free: 15.59 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.0001508/0.4202, allocations: 110.2 kB / 0.5858 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.4203, allocations: 20.33 kB / 0.5859 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4203, allocations: 160 / 0.5859 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.4204, allocations: 21.92 kB / 0.5859 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.4206, allocations: 0.875 kB / 0.5859 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.4209, allocations: 119.1 kB / 0.586 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.4212, allocations: 0.6746 MB / 0.5866 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.4212, allocations: 0.7188 kB / 0.5866 GB, free: 14.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.4212, allocations: 12.25 kB / 0.5867 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4212, allocations: 0 / 0.5867 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002325/0.4235, allocations: 450.9 kB / 0.5871 GB, free: 14.61 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)