Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 97.48 kB / 15.36 MB, free: 0.7305 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.001496/0.001496, allocations: 171.9 kB / 16.26 MB, free: 6.656 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7505/0.7505, allocations: 132.4 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 12.91 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4995, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001507/0.5011, allocations: 0.9904 MB / 0.5846 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.5023, allocations: 0.6157 MB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.5023, allocations: 0.875 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.5023, allocations: 0.6562 kB / 0.5852 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.5024, allocations: 10.58 kB / 0.5853 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.5029, allocations: 127.6 kB / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.828e-05/0.503, allocations: 15.66 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.5031, allocations: 2.609 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.5031, allocations: 7.734 kB / 0.5854 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.5032, allocations: 13.42 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.5032, allocations: 4.906 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.5038, allocations: 345.1 kB / 0.5857 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.613e-05/0.5038, allocations: 6.172 kB / 0.5858 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.5039, allocations: 33.98 kB / 0.5858 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.5042, allocations: 151.7 kB / 0.5859 GB, free: 2.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5042, allocations: 1.094 kB / 0.5859 GB, free: 2.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5042, allocations: 0 / 0.5859 GB, free: 2.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5042, allocations: 0 / 0.5859 GB, free: 2.621 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003611/0.5046, allocations: 354.9 kB / 0.5863 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5046, allocations: 14.33 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.5046, allocations: 2.25 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5048, allocations: 166.2 kB / 0.5864 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5048, allocations: 1.125 kB / 0.5864 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.5048, allocations: 3.344 kB / 0.5864 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5049, allocations: 51.58 kB / 0.5865 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.5049, allocations: 0 / 0.5865 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.505, allocations: 0.9375 kB / 0.5865 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.505, allocations: 1.031 kB / 0.5865 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.505, allocations: 15.31 kB / 0.5865 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.5052, allocations: 155.6 kB / 0.5867 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.5054, allocations: 44.7 kB / 0.5867 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.5054, allocations: 13.03 kB / 0.5867 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.5054, allocations: 9.969 kB / 0.5867 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.5055, allocations: 39.81 kB / 0.5868 GB, free: 1.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.5055, allocations: 4 kB / 0.5868 GB, free: 1.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005756/0.506, allocations: 300.5 kB / 0.5871 GB, free: 1.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.5061, allocations: 52.28 kB / 0.5871 GB, free: 1.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.5061, allocations: 101.6 kB / 0.5872 GB, free: 1.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.5061, allocations: 29.64 kB / 0.5872 GB, free: 1.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.5062, allocations: 80.14 kB / 0.5873 GB, free: 1.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.5062, allocations: 20.92 kB / 0.5873 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.5062, allocations: 20.95 kB / 0.5873 GB, free: 1.102 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.5063, allocations: 312.6 kB / 0.5876 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.001e-05/0.5063, allocations: 11.91 kB / 0.5877 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.698e-05/0.5064, allocations: 15.77 kB / 0.5877 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.5064, allocations: 37.84 kB / 0.5877 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.5064, allocations: 0 / 0.5877 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001026/0.5065, allocations: 72.33 kB / 0.5878 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.5066, allocations: 6.875 kB / 0.5878 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5066, allocations: 0 / 0.5878 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5066, allocations: 0.6875 kB / 0.5878 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.5067, allocations: 15.3 kB / 0.5878 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.5067, allocations: 5.125 kB / 0.5878 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.5067, allocations: 0.6562 kB / 0.5878 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.5067, allocations: 2 kB / 0.5878 GB, free: 0.6953 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.5068, allocations: 117.6 kB / 0.5879 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.5068, allocations: 7.062 kB / 0.5879 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.5069, allocations: 68.45 kB / 0.588 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5069, allocations: 1.203 kB / 0.588 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.507, allocations: 9.672 kB / 0.588 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.507, allocations: 0 / 0.588 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.5073, allocations: 313.4 kB / 0.5883 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5073, allocations: 2.141 kB / 0.5883 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.5073, allocations: 9.938 kB / 0.5883 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5073, allocations: 1.156 kB / 0.5883 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5074, allocations: 6.359 kB / 0.5883 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5074, allocations: 1.5 kB / 0.5883 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5074, allocations: 3.984 kB / 0.5883 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.5075, allocations: 187.1 kB / 0.5885 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.5076, allocations: 82.19 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.5077, allocations: 2.766 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.5077, allocations: 1.641 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.5078, allocations: 3.656 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5078, allocations: 6.562 kB / 0.5886 GB, free: 15.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.084e-05/0.5078, allocations: 86.5 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5078, allocations: 1.031 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.5081, allocations: 22.62 kB / 0.5887 GB, free: 15.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001884/0.5083, allocations: 129.1 kB / 0.5888 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.5084, allocations: 30.16 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5085, allocations: 0.9375 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.419e-05/0.5085, allocations: 17.16 kB / 0.5889 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.5087, allocations: 12.77 kB / 0.5889 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.5092, allocations: 228.7 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5095, allocations: 0.6805 MB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.5095, allocations: 5.453 kB / 0.5898 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.5095, allocations: 9.719 kB / 0.5898 GB, free: 14.81 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5095, allocations: 0.75 kB / 0.5898 GB, free: 14.81 MB / 446.1 MB Notification: Performance of Templates: time 0.003098/0.5126, allocations: 0.6094 MB / 0.5904 GB, free: 14.74 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)