Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008429/0.0008429, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005579/0.005579, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.391/1.391, 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.7702/0.7702, allocations: 132.4 MB / 423.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 11.94 kB / 0.504 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4345, allocations: 81.58 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001614/0.4362, allocations: 0.9994 MB / 0.5847 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.4374, allocations: 0.6271 MB / 0.5853 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.4374, allocations: 0 / 0.5853 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.4375, allocations: 7.875 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.4375, allocations: 1.125 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.4381, allocations: 128.4 kB / 0.5854 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.4381, allocations: 24.42 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.069e-05/0.4382, allocations: 2.219 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.4383, allocations: 11.89 kB / 0.5854 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.4383, allocations: 16.17 kB / 0.5855 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.4384, allocations: 9.516 kB / 0.5855 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005925/0.4389, allocations: 338 kB / 0.5858 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.439, allocations: 6.344 kB / 0.5858 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.439, allocations: 44.67 kB / 0.5858 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.4393, allocations: 151.5 kB / 0.586 GB, free: 2.605 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4393, allocations: 3.938 kB / 0.586 GB, free: 2.602 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4393, allocations: 0.9688 kB / 0.586 GB, free: 2.602 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.4393, allocations: 0 / 0.586 GB, free: 2.602 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003893/0.4397, allocations: 363.8 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.4398, allocations: 8.938 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.4398, allocations: 3.562 kB / 0.5863 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.221e-05/0.4399, allocations: 166.5 kB / 0.5865 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.4399, allocations: 2.344 kB / 0.5865 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.44, allocations: 12.66 kB / 0.5865 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4401, allocations: 52.83 kB / 0.5866 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4401, allocations: 1.828 kB / 0.5866 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4401, allocations: 4.875 kB / 0.5866 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4402, allocations: 0.9375 kB / 0.5866 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.46e-05/0.4402, allocations: 18.22 kB / 0.5866 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.4404, allocations: 171.2 kB / 0.5868 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4405, allocations: 64 kB / 0.5868 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.4405, allocations: 24.64 kB / 0.5868 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4406, allocations: 6.359 kB / 0.5868 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4406, allocations: 39.78 kB / 0.5869 GB, free: 1.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.4406, allocations: 0 / 0.5869 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001116/0.4417, allocations: 0.5919 MB / 0.5875 GB, free: 1.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.4418, allocations: 52.62 kB / 0.5875 GB, free: 1.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.259e-05/0.4418, allocations: 94.17 kB / 0.5876 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.4418, allocations: 31.83 kB / 0.5876 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.476e-05/0.4419, allocations: 80.14 kB / 0.5877 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4419, allocations: 35.5 kB / 0.5877 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.4419, allocations: 19.48 kB / 0.5878 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.442, allocations: 322.1 kB / 0.5881 GB, free: 500 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.423e-05/0.442, allocations: 22.25 kB / 0.5881 GB, free: 492 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.4421, allocations: 26.23 kB / 0.5881 GB, free: 484 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.779e-05/0.4422, allocations: 51.47 kB / 0.5882 GB, free: 460 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4422, allocations: 3.938 kB / 0.5882 GB, free: 456 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001506/0.4424, allocations: 101.4 kB / 0.5883 GB, free: 396 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4424, allocations: 8.625 kB / 0.5883 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4424, allocations: 0.9688 kB / 0.5883 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4424, allocations: 0.9062 kB / 0.5883 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.4425, allocations: 29.34 kB / 0.5883 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4426, allocations: 320 / 0.5883 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.4426, allocations: 5.031 kB / 0.5883 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.4426, allocations: 7.688 kB / 0.5883 GB, free: 376 kB / 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 (13): * Single equations (assignments): 13 * 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 7.437e-05/0.4427, allocations: 118 kB / 0.5884 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.4427, allocations: 3.469 kB / 0.5884 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.4429, allocations: 109.4 kB / 0.5885 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4429, allocations: 1.344 kB / 0.5885 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.443, allocations: 4.719 kB / 0.5885 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.443, allocations: 0.6094 kB / 0.5885 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.4435, allocations: 364.4 kB / 0.5889 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4435, allocations: 0 / 0.5889 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.4436, allocations: 25 kB / 0.5889 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4436, allocations: 0 / 0.5889 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4436, allocations: 2.016 kB / 0.5889 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4436, allocations: 0.7812 kB / 0.5889 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4437, allocations: 1.391 kB / 0.5889 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.444, allocations: 222.5 kB / 0.5891 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.444, allocations: 82.88 kB / 0.5892 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4441, allocations: 1.969 kB / 0.5892 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4442, allocations: 5.875 kB / 0.5892 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.4442, allocations: 6.484 kB / 0.5892 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4442, allocations: 3.344 kB / 0.5892 GB, free: 15.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.4443, allocations: 89.97 kB / 0.5893 GB, free: 15.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4443, allocations: 0 / 0.5893 GB, free: 15.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000295/0.4446, allocations: 33.47 kB / 0.5893 GB, free: 15.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002247/0.4448, allocations: 137.9 kB / 0.5895 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.445, allocations: 57.41 kB / 0.5895 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.445, allocations: 3.938 kB / 0.5895 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.553e-05/0.4451, allocations: 36.94 kB / 0.5896 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.4453, allocations: 7.359 kB / 0.5896 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006416/0.446, allocations: 336.5 kB / 0.5899 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.4462, allocations: 0.6888 MB / 0.5906 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.256e-05/0.4463, allocations: 12.08 kB / 0.5906 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.4463, allocations: 13.45 kB / 0.5906 GB, free: 14.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4463, allocations: 0 / 0.5906 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Templates: time 0.003499/0.4498, allocations: 0.9029 MB / 0.5915 GB, free: 14.29 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)