Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 115.8 kB / 16.37 MB, free: 6 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.001139/0.001139, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.305/1.305, 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.8324/0.8324, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 80.18 MB / 0.5815 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002297/0.3483, allocations: 1.466 MB / 0.5829 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000876/0.3492, allocations: 0.6337 MB / 0.5836 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.3492, allocations: 2.312 kB / 0.5836 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.3493, allocations: 3.938 kB / 0.5836 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.3493, allocations: 13.52 kB / 0.5836 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.3499, allocations: 169.8 kB / 0.5837 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.44e-05/0.3499, allocations: 47.36 kB / 0.5838 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.35, allocations: 10.14 kB / 0.5838 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.3501, allocations: 19.66 kB / 0.5838 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.3501, allocations: 30.08 kB / 0.5838 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.3501, allocations: 3.375 kB / 0.5838 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004398/0.3506, allocations: 344.7 kB / 0.5842 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.3506, allocations: 14.17 kB / 0.5842 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.3506, allocations: 27.98 kB / 0.5842 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3509, allocations: 178.7 kB / 0.5844 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3509, allocations: 1.312 kB / 0.5844 GB, free: 25.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3509, allocations: 0 / 0.5844 GB, free: 25.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3509, allocations: 0 / 0.5844 GB, free: 25.65 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004883/0.3514, allocations: 398.4 kB / 0.5848 GB, free: 25.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3515, allocations: 8.969 kB / 0.5848 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3515, allocations: 9.156 kB / 0.5848 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.077e-05/0.3516, allocations: 173.3 kB / 0.5849 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.3516, allocations: 7.719 kB / 0.5849 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3516, allocations: 9.375 kB / 0.585 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3519, allocations: 79.34 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3519, allocations: 0 / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3519, allocations: 6.5 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3519, allocations: 1.219 kB / 0.585 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.3521, allocations: 50.33 kB / 0.5851 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.3526, allocations: 326.3 kB / 0.5854 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.3528, allocations: 77.12 kB / 0.5855 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.353, allocations: 35.44 kB / 0.5855 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.353, allocations: 10.33 kB / 0.5855 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.353, allocations: 31.97 kB / 0.5855 GB, free: 24.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.353, allocations: 6.219 kB / 0.5856 GB, free: 24.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001448/0.3545, allocations: 0.6423 MB / 0.5862 GB, free: 23.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3545, allocations: 57.34 kB / 0.5862 GB, free: 23.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/0.3546, allocations: 99.11 kB / 0.5863 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3546, allocations: 31.55 kB / 0.5864 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.3546, allocations: 92 kB / 0.5864 GB, free: 23.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3547, allocations: 43.2 kB / 0.5865 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.3547, allocations: 26.38 kB / 0.5865 GB, free: 23.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.3548, allocations: 321 kB / 0.5868 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3549, allocations: 31.48 kB / 0.5869 GB, free: 23.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.355, allocations: 31.97 kB / 0.5869 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3552, allocations: 77.92 kB / 0.587 GB, free: 23.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3552, allocations: 0 / 0.587 GB, free: 23.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002693/0.3555, allocations: 114.8 kB / 0.5871 GB, free: 23.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3555, allocations: 5.25 kB / 0.5871 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3555, allocations: 0 / 0.5871 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3555, allocations: 2.156 kB / 0.5871 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3557, allocations: 28.58 kB / 0.5871 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3557, allocations: 4.984 kB / 0.5871 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.3558, allocations: 12.61 kB / 0.5871 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3558, allocations: 2.562 kB / 0.5871 GB, free: 23.11 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 (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 5.656e-05/0.3558, allocations: 117.3 kB / 0.5872 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.3559, allocations: 9.125 kB / 0.5872 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.3562, allocations: 134 kB / 0.5874 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.3562, allocations: 5.125 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3562, allocations: 4 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3562, allocations: 1.719 kB / 0.5874 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.3567, allocations: 376.3 kB / 0.5877 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3567, allocations: 3.984 kB / 0.5877 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3569, allocations: 33.36 kB / 0.5878 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3569, allocations: 0.9688 kB / 0.5878 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.3569, allocations: 1.688 kB / 0.5878 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3569, allocations: 6.906 kB / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3569, allocations: 0 / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.3574, allocations: 254.5 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.3574, allocations: 87.2 kB / 0.5881 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3574, allocations: 1.719 kB / 0.5881 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.3576, allocations: 9.484 kB / 0.5881 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.3576, allocations: 11.8 kB / 0.5881 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.3576, allocations: 3.812 kB / 0.5881 GB, free: 22.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.664e-05/0.3576, allocations: 79.81 kB / 0.5882 GB, free: 22.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3577, allocations: 0 / 0.5882 GB, free: 22.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.358, allocations: 38.59 kB / 0.5882 GB, free: 22.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002182/0.3582, allocations: 132.3 kB / 0.5884 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.3585, allocations: 91.36 kB / 0.5885 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3586, allocations: 0 / 0.5885 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.3587, allocations: 47.09 kB / 0.5885 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.359, allocations: 9.344 kB / 0.5885 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/0.3599, allocations: 314 kB / 0.5888 GB, free: 21.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3602, allocations: 0.6912 MB / 0.5895 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.649e-05/0.3602, allocations: 16.62 kB / 0.5895 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3603, allocations: 16.53 kB / 0.5895 GB, free: 21.04 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3603, allocations: 0 / 0.5895 GB, free: 21.04 MB / 446.1 MB Notification: Performance of Templates: time 0.004158/0.3645, allocations: 1.126 MB / 0.5906 GB, free: 20.49 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)