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.001092/0.001092, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001127/0.001128, allocations: 193.6 kB / 16.25 MB, free: 6.625 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7515/0.7515, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 60.66 kB / 0.5013 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3847, allocations: 80.2 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002171/0.3869, allocations: 1.327 MB / 0.5809 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008271/0.3877, allocations: 0.6154 MB / 0.5815 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3878, allocations: 3.938 kB / 0.5815 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.3878, allocations: 0 / 0.5815 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.3879, allocations: 5.703 kB / 0.5815 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.3883, allocations: 130.3 kB / 0.5816 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.3884, allocations: 19.64 kB / 0.5817 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.3884, allocations: 3.109 kB / 0.5817 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.991e-05/0.3885, allocations: 8.281 kB / 0.5817 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.4e-05/0.3885, allocations: 13.17 kB / 0.5817 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3886, allocations: 0.7812 kB / 0.5817 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004866/0.389, allocations: 346.3 kB / 0.582 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.3891, allocations: 2.469 kB / 0.582 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.235e-05/0.3891, allocations: 12.34 kB / 0.582 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.3893, allocations: 148.3 kB / 0.5822 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3894, allocations: 0 / 0.5822 GB, free: 2.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3894, allocations: 0 / 0.5822 GB, free: 2.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3894, allocations: 0 / 0.5822 GB, free: 2.93 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.00032/0.3897, allocations: 363.2 kB / 0.5825 GB, free: 2.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3897, allocations: 10.16 kB / 0.5825 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.3898, allocations: 2.469 kB / 0.5825 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.773e-05/0.3898, allocations: 166.2 kB / 0.5827 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3899, allocations: 2.203 kB / 0.5827 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.3899, allocations: 2.781 kB / 0.5827 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.39, allocations: 51.69 kB / 0.5827 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.39, allocations: 0 / 0.5827 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.39, allocations: 0.875 kB / 0.5827 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.39, allocations: 0 / 0.5827 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.3901, allocations: 16.83 kB / 0.5827 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001118/0.3902, allocations: 160 kB / 0.5829 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3904, allocations: 43.03 kB / 0.5829 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.3904, allocations: 17.94 kB / 0.583 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3904, allocations: 0.5625 kB / 0.583 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.3904, allocations: 48.67 kB / 0.583 GB, free: 2.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3904, allocations: 0 / 0.583 GB, free: 2.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005516/0.391, allocations: 301 kB / 0.5833 GB, free: 1.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.391, allocations: 60.89 kB / 0.5834 GB, free: 1.656 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.25e-05/0.3911, allocations: 95.25 kB / 0.5834 GB, free: 1.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.3911, allocations: 26.61 kB / 0.5835 GB, free: 1.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.502e-05/0.3911, allocations: 89.08 kB / 0.5836 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3911, allocations: 20.27 kB / 0.5836 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.3912, allocations: 24.52 kB / 0.5836 GB, free: 1.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.3912, allocations: 316.8 kB / 0.5839 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.3913, allocations: 12.72 kB / 0.5839 GB, free: 1.078 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.432e-05/0.3913, allocations: 16.39 kB / 0.5839 GB, free: 1.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.153e-05/0.3913, allocations: 36.64 kB / 0.584 GB, free: 1.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3914, allocations: 0 / 0.584 GB, free: 1.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.55e-05/0.3914, allocations: 69.2 kB / 0.584 GB, free: 1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3915, allocations: 7.047 kB / 0.584 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3915, allocations: 4 kB / 0.584 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3915, allocations: 1 kB / 0.584 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.3915, allocations: 11.05 kB / 0.584 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3916, allocations: 1.094 kB / 0.584 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.3916, allocations: 4.688 kB / 0.5841 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3916, allocations: 2.469 kB / 0.5841 GB, free: 0.9922 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 4.493e-05/0.3916, allocations: 109.6 kB / 0.5842 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.3916, allocations: 6.297 kB / 0.5842 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3918, allocations: 77.36 kB / 0.5842 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3918, allocations: 4 kB / 0.5842 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3918, allocations: 1.719 kB / 0.5842 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3918, allocations: 0.5156 kB / 0.5842 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002519/0.3921, allocations: 316.7 kB / 0.5845 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3921, allocations: 1.188 kB / 0.5845 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.3921, allocations: 11.22 kB / 0.5846 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3921, allocations: 1.344 kB / 0.5846 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.3922, allocations: 1.984 kB / 0.5846 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3922, allocations: 5.25 kB / 0.5846 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3922, allocations: 0 / 0.5846 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.3923, allocations: 189.4 kB / 0.5847 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.708e-05/0.3924, allocations: 81.66 kB / 0.5848 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3924, allocations: 8.844 kB / 0.5848 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.3925, allocations: 2.141 kB / 0.5848 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.3925, allocations: 8.406 kB / 0.5848 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3925, allocations: 6.781 kB / 0.5849 GB, free: 212 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.85e-05/0.3925, allocations: 78.8 kB / 0.5849 GB, free: 136 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3925, allocations: 0 / 0.5849 GB, free: 136 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002356/0.3928, allocations: 26.94 kB / 0.585 GB, free: 124 kB / 430.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.0001586/0.3929, allocations: 119.7 kB / 0.5851 GB, free: 24 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.393, allocations: 36.81 kB / 0.5851 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.393, allocations: 0 / 0.5851 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.098e-05/0.3931, allocations: 25.91 kB / 0.5851 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3933, allocations: 2.641 kB / 0.5851 GB, free: 0 / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.3938, allocations: 205.4 kB / 0.5853 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.3941, allocations: 0.6878 MB / 0.586 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.075e-05/0.3941, allocations: 3.672 kB / 0.586 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.3942, allocations: 11.62 kB / 0.586 GB, free: 15.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3942, allocations: 0 / 0.586 GB, free: 15.1 MB / 446.1 MB Notification: Performance of Templates: time 0.003033/0.3972, allocations: 0.622 MB / 0.5866 GB, free: 15.04 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)