Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001686/0.001686, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.518/1.518, allocations: 205.1 MB / 222.1 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4368/0.4368, allocations: 54.93 MB / 324.4 MB, free: 92 kB / 254.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.002273/0.002273, allocations: 67.89 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1519, allocations: 59.59 MB / 454.5 MB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.2184/0.3703, allocations: 1.329 MB / 455.8 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007687/0.3711, allocations: 0.5264 MB / 456.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.3712, allocations: 0 / 456.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.3712, allocations: 1.688 kB / 456.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.3713, allocations: 5.859 kB / 456.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.3718, allocations: 109.1 kB / 456.4 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.3719, allocations: 23.64 kB / 456.4 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.3719, allocations: 1.859 kB / 456.4 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.372, allocations: 9.188 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.372, allocations: 13.09 kB / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.372, allocations: 0 / 456.5 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.3725, allocations: 351 kB / 456.8 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3725, allocations: 4.859 kB / 456.8 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.3725, allocations: 14.5 kB / 456.8 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.3727, allocations: 140.6 kB / 457 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3727, allocations: 0 / 457 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3727, allocations: 0 / 457 MB, free: 38.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3727, allocations: 0.625 kB / 457 MB, free: 38.71 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.0003182/0.3731, allocations: 351.3 kB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3731, allocations: 12.81 kB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3732, allocations: 8.625 kB / 457.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.072e-05/0.3732, allocations: 164.3 kB / 457.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3733, allocations: 2.062 kB / 457.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.3733, allocations: 7.156 kB / 457.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.3736, allocations: 70.86 kB / 457.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3737, allocations: 0.8438 kB / 457.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3737, allocations: 7.375 kB / 457.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.3737, allocations: 0 / 457.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/0.3739, allocations: 47.83 kB / 457.6 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.3741, allocations: 158.8 kB / 457.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/0.3744, allocations: 72.78 kB / 457.9 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.3745, allocations: 19.55 kB / 457.9 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.3747, allocations: 105.9 kB / 458 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3747, allocations: 35.81 kB / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3748, allocations: 0 / 458 MB, free: 37.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.00258/0.3773, allocations: 0.6059 MB / 458.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.3774, allocations: 54 kB / 458.7 MB, free: 37.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.7e-05/0.3774, allocations: 92.77 kB / 458.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3775, allocations: 28.61 kB / 458.8 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.623e-05/0.3775, allocations: 84.08 kB / 458.9 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.3775, allocations: 21.91 kB / 458.9 MB, free: 37.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.3776, allocations: 17.84 kB / 458.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.3776, allocations: 320.4 kB / 459.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.3777, allocations: 30.52 kB / 459.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3778, allocations: 36.3 kB / 459.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.378, allocations: 72.14 kB / 459.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3781, allocations: 0 / 459.4 MB, free: 36.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002469/0.3783, allocations: 109.2 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3783, allocations: 8.938 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3784, allocations: 4.188 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3784, allocations: 0 / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3785, allocations: 21.34 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3785, allocations: 6.938 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.3786, allocations: 15.03 kB / 459.5 MB, free: 36.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3786, allocations: 0 / 459.5 MB, free: 36.84 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 5.82e-05/0.3787, allocations: 114.5 kB / 459.6 MB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.3787, allocations: 7.844 kB / 459.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.204e-05/0.3787, allocations: 6.969 kB / 459.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3788, allocations: 3.281 kB / 459.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3788, allocations: 0 / 459.6 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3788, allocations: 2.016 kB / 459.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.3793, allocations: 371.5 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3793, allocations: 7.25 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.3794, allocations: 22.11 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3795, allocations: 0.625 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3795, allocations: 3.125 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3795, allocations: 3.844 kB / 460 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3795, allocations: 1.969 kB / 460.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.3799, allocations: 249.1 kB / 460.3 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.38, allocations: 86.94 kB / 460.4 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.38, allocations: 7.094 kB / 460.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3801, allocations: 9.094 kB / 460.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.3801, allocations: 2.875 kB / 460.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.3802, allocations: 7.031 kB / 460.4 MB, free: 36.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.373e-05/0.3802, allocations: 78.12 kB / 460.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3802, allocations: 2.25 kB / 460.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.3804, allocations: 9.594 kB / 460.5 MB, free: 36.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001053/0.3805, allocations: 105.8 kB / 460.6 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002914/0.3808, allocations: 83.86 kB / 460.7 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3808, allocations: 0 / 460.7 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.381, allocations: 35.02 kB / 460.7 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3812, allocations: 10.62 kB / 460.7 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.382, allocations: 270.7 kB / 461 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.3821, allocations: 0.6779 MB / 461.7 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.3822, allocations: 10.23 kB / 461.7 MB, free: 35.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.3823, allocations: 12.69 kB / 461.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3823, allocations: 3 kB / 461.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of Templates: time 0.002735/0.385, allocations: 0.7023 MB / 462.4 MB, free: 35.09 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)