Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 111.4 kB / 16.37 MB, free: 6.469 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.001607/0.001607, allocations: 196.6 kB / 17.31 MB, free: 5.824 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7809/0.7809, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3467, allocations: 80.17 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001958/0.3486, allocations: 1.243 MB / 0.5827 GB, free: 26.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.3494, allocations: 0.6078 MB / 0.5833 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.3494, allocations: 0.9062 kB / 0.5833 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.3494, allocations: 0 / 0.5833 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.3495, allocations: 1.188 kB / 0.5833 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004035/0.3499, allocations: 140.4 kB / 0.5834 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.35, allocations: 8.969 kB / 0.5834 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.35, allocations: 5.312 kB / 0.5834 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.35, allocations: 3.688 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.779e-05/0.3501, allocations: 10.7 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.3501, allocations: 1.062 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004108/0.3505, allocations: 345 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.3505, allocations: 0.625 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.3505, allocations: 2.062 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3507, allocations: 146.3 kB / 0.5839 GB, free: 25.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3508, allocations: 0 / 0.5839 GB, free: 25.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3508, allocations: 1.469 kB / 0.5839 GB, free: 25.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3508, allocations: 0.6875 kB / 0.5839 GB, free: 25.72 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.0002681/0.351, allocations: 351.9 kB / 0.5843 GB, free: 25.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3511, allocations: 9.125 kB / 0.5843 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.3511, allocations: 2.406 kB / 0.5843 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.576e-05/0.3512, allocations: 167.9 kB / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.3512, allocations: 384 / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.3512, allocations: 1.875 kB / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.957e-05/0.3513, allocations: 33.58 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.3513, allocations: 0 / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3513, allocations: 1.125 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3513, allocations: 1.375 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.3513, allocations: 6.781 kB / 0.5845 GB, free: 25.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.53e-05/0.3514, allocations: 153.4 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.3515, allocations: 24.92 kB / 0.5847 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.492e-05/0.3515, allocations: 7.109 kB / 0.5847 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.3515, allocations: 5.422 kB / 0.5847 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.3515, allocations: 41.62 kB / 0.5847 GB, free: 24.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.3516, allocations: 0 / 0.5847 GB, free: 24.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000111/0.3517, allocations: 46.72 kB / 0.5848 GB, free: 24.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.3517, allocations: 56.78 kB / 0.5848 GB, free: 24.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.183e-05/0.3517, allocations: 93.27 kB / 0.5849 GB, free: 24.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-06/0.3518, allocations: 26.42 kB / 0.5849 GB, free: 24.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.249e-05/0.3518, allocations: 85.23 kB / 0.585 GB, free: 24.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.3518, allocations: 13.86 kB / 0.585 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.3518, allocations: 15.34 kB / 0.585 GB, free: 24.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.706e-05/0.3519, allocations: 310.8 kB / 0.5853 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.3519, allocations: 6.219 kB / 0.5853 GB, free: 24.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-06/0.3519, allocations: 2.625 kB / 0.5853 GB, free: 24.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.3519, allocations: 10.02 kB / 0.5853 GB, free: 24.14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3519, allocations: 0 / 0.5853 GB, free: 24.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.461e-05/0.352, allocations: 51.88 kB / 0.5854 GB, free: 24.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.352, allocations: 5.062 kB / 0.5854 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.352, allocations: 3.984 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.352, allocations: 2.844 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.3522, allocations: 12.23 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002288/0.3524, allocations: 0.5828 MB / 0.586 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3524, allocations: 0.7188 kB / 0.586 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.3525, allocations: 1.5 kB / 0.586 GB, free: 23.5 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.745e-05/0.3525, allocations: 117.3 kB / 0.5861 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.3525, allocations: 1.188 kB / 0.5861 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.785e-05/0.3526, allocations: 44.44 kB / 0.5861 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3526, allocations: 2.75 kB / 0.5861 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3526, allocations: 4 kB / 0.5862 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3526, allocations: 0 / 0.5862 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.342e-05/0.3527, allocations: 156.3 kB / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3527, allocations: 1.906 kB / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.3528, allocations: 9.531 kB / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3528, allocations: 0 / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3528, allocations: 1.188 kB / 0.5863 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001622/0.353, allocations: 0.5907 MB / 0.5869 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.353, allocations: 1.031 kB / 0.5869 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.247e-05/0.353, allocations: 60.55 kB / 0.5869 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3531, allocations: 85 kB / 0.587 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.3531, allocations: 2.156 kB / 0.587 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.3531, allocations: 7.938 kB / 0.587 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.3531, allocations: 7.188 kB / 0.587 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3531, allocations: 1.281 kB / 0.587 GB, free: 22.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.737e-05/0.3531, allocations: 76.56 kB / 0.5871 GB, free: 22.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3531, allocations: 3.938 kB / 0.5871 GB, free: 22.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.3534, allocations: 12.03 kB / 0.5871 GB, free: 22.27 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.0001254/0.3535, allocations: 115 kB / 0.5872 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3536, allocations: 21.39 kB / 0.5873 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3537, allocations: 0 / 0.5873 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.618e-05/0.3537, allocations: 16.58 kB / 0.5873 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.3539, allocations: 3.406 kB / 0.5873 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.3541, allocations: 104.1 kB / 0.5874 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.421e-05/0.3542, allocations: 0.6783 MB / 0.588 GB, free: 21.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.447e-05/0.3543, allocations: 0 / 0.588 GB, free: 21.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.246e-05/0.3543, allocations: 7.438 kB / 0.5881 GB, free: 21.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3543, allocations: 0 / 0.5881 GB, free: 21.34 MB / 446.1 MB Notification: Performance of Templates: time 0.002083/0.3564, allocations: 446.1 kB / 0.5885 GB, free: 21.16 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)