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.001554/0.001554, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001508/0.001509, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8196/0.8196, allocations: 135.2 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 59.91 kB / 0.506 GB, free: 8.355 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3611, allocations: 80.92 MB / 0.5851 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002158/0.3633, allocations: 1.236 MB / 0.5863 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.3641, allocations: 0.5939 MB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.3642, allocations: 1.531 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.3642, allocations: 0 / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.3643, allocations: 1.406 kB / 0.5869 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.3647, allocations: 143.8 kB / 0.587 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.538e-05/0.3648, allocations: 13.44 kB / 0.587 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.596e-05/0.3648, allocations: 1.188 kB / 0.587 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.07e-05/0.3649, allocations: 10.69 kB / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.3649, allocations: 7.484 kB / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.3649, allocations: 0 / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004374/0.3654, allocations: 347.6 kB / 0.5874 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.809e-06/0.3654, allocations: 0 / 0.5874 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.3654, allocations: 5.469 kB / 0.5874 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.3656, allocations: 138 kB / 0.5875 GB, free: 23.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3656, allocations: 1.188 kB / 0.5875 GB, free: 23.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3656, allocations: 0 / 0.5875 GB, free: 23.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3656, allocations: 0 / 0.5875 GB, free: 23.49 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.0003111/0.366, allocations: 357.5 kB / 0.5878 GB, free: 23.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.366, allocations: 11.8 kB / 0.5878 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.366, allocations: 0.9375 kB / 0.5878 GB, free: 23.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.243e-05/0.3661, allocations: 165.8 kB / 0.588 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3661, allocations: 1.5 kB / 0.588 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.3662, allocations: 8.547 kB / 0.588 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.3662, allocations: 32.42 kB / 0.588 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3663, allocations: 0 / 0.588 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3663, allocations: 0 / 0.588 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3663, allocations: 5.312 kB / 0.5881 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.3663, allocations: 2.938 kB / 0.5881 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.3664, allocations: 152.7 kB / 0.5882 GB, free: 22.67 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.311e-05/0.3665, allocations: 25.45 kB / 0.5882 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.3665, allocations: 9.453 kB / 0.5882 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.3665, allocations: 0 / 0.5882 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.87e-05/0.3665, allocations: 40.05 kB / 0.5883 GB, free: 22.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3665, allocations: 0 / 0.5883 GB, free: 22.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001297/0.3667, allocations: 44.92 kB / 0.5883 GB, free: 22.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.3667, allocations: 51.41 kB / 0.5884 GB, free: 22.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.429e-05/0.3668, allocations: 93.8 kB / 0.5885 GB, free: 22.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.3668, allocations: 26.95 kB / 0.5885 GB, free: 22.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.354e-05/0.3668, allocations: 88.75 kB / 0.5886 GB, free: 22.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.3668, allocations: 10.41 kB / 0.5886 GB, free: 22.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.3669, allocations: 12.16 kB / 0.5886 GB, free: 22.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.98e-05/0.3669, allocations: 312.2 kB / 0.5889 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.3669, allocations: 2.156 kB / 0.5889 GB, free: 21.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-06/0.3669, allocations: 7.125 kB / 0.5889 GB, free: 21.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.367, allocations: 14.67 kB / 0.5889 GB, free: 21.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.367, allocations: 0 / 0.5889 GB, free: 21.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.423e-05/0.367, allocations: 48.16 kB / 0.589 GB, free: 21.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.367, allocations: 7.719 kB / 0.589 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.367, allocations: 3 kB / 0.589 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3671, allocations: 3.938 kB / 0.589 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3672, allocations: 11.48 kB / 0.589 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002261/0.3675, allocations: 0.5838 MB / 0.5895 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.3675, allocations: 0.9375 kB / 0.5895 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.3675, allocations: 1.188 kB / 0.5895 GB, free: 21.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.728e-05/0.3675, allocations: 113.2 kB / 0.5897 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-06/0.3676, allocations: 6.25 kB / 0.5897 GB, free: 21.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.3676, allocations: 48.89 kB / 0.5897 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3677, allocations: 1.375 kB / 0.5897 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3677, allocations: 0 / 0.5897 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3677, allocations: 0 / 0.5897 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.435e-05/0.3677, allocations: 161.1 kB / 0.5899 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3677, allocations: 1.281 kB / 0.5899 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.3678, allocations: 12.5 kB / 0.5899 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3678, allocations: 3.984 kB / 0.5899 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3678, allocations: 2.344 kB / 0.5899 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001628/0.368, allocations: 0.5875 MB / 0.5905 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.368, allocations: 1.562 kB / 0.5905 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.255e-05/0.3681, allocations: 59.45 kB / 0.5905 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.3681, allocations: 81.09 kB / 0.5906 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.988e-06/0.3681, allocations: 1.688 kB / 0.5906 GB, free: 20.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.3681, allocations: 9.156 kB / 0.5906 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.3681, allocations: 0.5312 kB / 0.5906 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/0.3682, allocations: 3.156 kB / 0.5906 GB, free: 20.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.769e-05/0.3682, allocations: 81.72 kB / 0.5907 GB, free: 20.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3682, allocations: 0 / 0.5907 GB, free: 20.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001941/0.3684, allocations: 11.47 kB / 0.5907 GB, free: 20.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.0001362/0.3685, allocations: 108.3 kB / 0.5908 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3687, allocations: 20.95 kB / 0.5908 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3687, allocations: 1.156 kB / 0.5908 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.3688, allocations: 13.86 kB / 0.5908 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.3689, allocations: 12.48 kB / 0.5908 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.3693, allocations: 140.2 kB / 0.591 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3694, allocations: 0.6737 MB / 0.5916 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.194e-05/0.3694, allocations: 8.5 kB / 0.5916 GB, free: 19.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3694, allocations: 0 / 0.5916 GB, free: 19.08 MB / 446.1 MB Notification: Performance of Templates: time 0.002372/0.3718, allocations: 0.6999 MB / 0.5923 GB, free: 18.69 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)