Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001486/0.001486, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 188.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4254/0.4254, allocations: 54.95 MB / 324.8 MB, free: 15.88 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 67.91 kB / 396.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3707, allocations: 59.59 MB / 455.7 MB, free: 40.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002608/0.3733, allocations: 1.253 MB / 456.9 MB, free: 40.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.3741, allocations: 0.5284 MB / 457.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.3742, allocations: 0 / 457.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.489e-05/0.3742, allocations: 2.812 kB / 457.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.3743, allocations: 3.906 kB / 457.5 MB, free: 40.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.3747, allocations: 125.1 kB / 457.6 MB, free: 40.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.751e-05/0.3748, allocations: 18.44 kB / 457.6 MB, free: 40.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.3748, allocations: 9.172 kB / 457.6 MB, free: 40.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.23e-05/0.3749, allocations: 9.562 kB / 457.6 MB, free: 40.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.375, allocations: 11.62 kB / 457.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.375, allocations: 0 / 457.7 MB, free: 40.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.3754, allocations: 349.2 kB / 458 MB, free: 40.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.3755, allocations: 0.5 kB / 458 MB, free: 40.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.3755, allocations: 10.66 kB / 458 MB, free: 40.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.3757, allocations: 142.7 kB / 458.1 MB, free: 40.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3757, allocations: 0 / 458.1 MB, free: 40.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3758, allocations: 0.5625 kB / 458.1 MB, free: 40.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.3758, allocations: 0 / 458.1 MB, free: 40.09 MB / 382.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.0003749/0.3761, allocations: 351.6 kB / 458.5 MB, free: 39.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3762, allocations: 8.719 kB / 458.5 MB, free: 39.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3762, allocations: 6.406 kB / 458.5 MB, free: 39.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.3763, allocations: 169 kB / 458.7 MB, free: 39.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3763, allocations: 1.594 kB / 458.7 MB, free: 39.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3764, allocations: 8.25 kB / 458.7 MB, free: 39.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.3769, allocations: 111.1 kB / 458.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.377, allocations: 3.938 kB / 458.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.377, allocations: 6.844 kB / 458.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.377, allocations: 0 / 458.8 MB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.3774, allocations: 82.08 kB / 458.9 MB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.3776, allocations: 157.8 kB / 459 MB, free: 39.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.3781, allocations: 116.4 kB / 459.1 MB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.3782, allocations: 20.33 kB / 459.2 MB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.3785, allocations: 113 kB / 459.3 MB, free: 39.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.3785, allocations: 36.34 kB / 459.3 MB, free: 39.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.3785, allocations: 0 / 459.3 MB, free: 39.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.004242/0.3828, allocations: 0.9762 MB / 460.3 MB, free: 38.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3828, allocations: 54.06 kB / 460.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.3829, allocations: 96.39 kB / 460.4 MB, free: 38.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3829, allocations: 25.7 kB / 460.5 MB, free: 38.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.3829, allocations: 86.8 kB / 460.5 MB, free: 38.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.383, allocations: 23.62 kB / 460.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.383, allocations: 16.59 kB / 460.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.3831, allocations: 324.8 kB / 460.9 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.3833, allocations: 56.56 kB / 461 MB, free: 38.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.3836, allocations: 60.81 kB / 461 MB, free: 38.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.384, allocations: 130.2 kB / 461.1 MB, free: 38.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.384, allocations: 0 / 461.1 MB, free: 38.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004969/0.3845, allocations: 170.9 kB / 461.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3846, allocations: 9.75 kB / 461.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3846, allocations: 5.938 kB / 461.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3846, allocations: 3.719 kB / 461.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3848, allocations: 32.69 kB / 461.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3848, allocations: 0.9375 kB / 461.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.385, allocations: 23.72 kB / 461.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.385, allocations: 4.625 kB / 461.4 MB, free: 38.19 MB / 382.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 7.094e-05/0.3851, allocations: 117 kB / 461.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.3851, allocations: 12.67 kB / 461.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.3851, allocations: 7.531 kB / 461.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3852, allocations: 2.906 kB / 461.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3852, allocations: 0 / 461.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3852, allocations: 0 / 461.5 MB, free: 38.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000842/0.386, allocations: 443.4 kB / 462 MB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.386, allocations: 3.094 kB / 462 MB, free: 37.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.3863, allocations: 39.28 kB / 462 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3863, allocations: 0 / 462 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3863, allocations: 11.31 kB / 462 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3863, allocations: 7.172 kB / 462 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3863, allocations: 1.562 kB / 462 MB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007601/0.3871, allocations: 331.7 kB / 462.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.3871, allocations: 88.02 kB / 462.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3871, allocations: 2.875 kB / 462.4 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.3874, allocations: 26.83 kB / 462.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.3874, allocations: 0 / 462.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3874, allocations: 6.219 kB / 462.5 MB, free: 37.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.999e-05/0.3874, allocations: 85.78 kB / 462.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3874, allocations: 4.062 kB / 462.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3877, allocations: 11.81 kB / 462.6 MB, free: 37.43 MB / 382.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 9.693e-05/0.3878, allocations: 95.81 kB / 462.7 MB, free: 37.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005204/0.3883, allocations: 136.2 kB / 462.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3883, allocations: 0 / 462.8 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.3885, allocations: 71.2 kB / 462.9 MB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3888, allocations: 13.06 kB / 462.9 MB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3899, allocations: 340.6 kB / 463.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.39, allocations: 0.6824 MB / 463.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.512e-05/0.39, allocations: 6.938 kB / 463.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.3901, allocations: 13.62 kB / 463.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3901, allocations: 3.75 kB / 463.9 MB, free: 36.47 MB / 382.1 MB Notification: Performance of Templates: time 0.002809/0.3929, allocations: 0.8297 MB / 464.7 MB, free: 36.44 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)