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.004739/0.004739, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001046/0.001046, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.91 kB / 0.5814 GB, free: 7.531 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3799, allocations: 80.2 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002589/0.3825, allocations: 1.473 MB / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.3835, allocations: 0.6403 MB / 0.6617 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.3836, allocations: 0 / 0.6617 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.3836, allocations: 5.25 kB / 0.6617 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.277e-05/0.3837, allocations: 5.719 kB / 0.6618 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.3843, allocations: 163.9 kB / 0.6619 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.612e-05/0.3844, allocations: 46.52 kB / 0.662 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3845, allocations: 7.25 kB / 0.662 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.931e-05/0.3845, allocations: 28.98 kB / 0.662 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.202e-05/0.3846, allocations: 29.41 kB / 0.662 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.3846, allocations: 3.938 kB / 0.662 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.3851, allocations: 344.8 kB / 0.6623 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3852, allocations: 10.55 kB / 0.6624 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.3852, allocations: 31.62 kB / 0.6624 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002704/0.3855, allocations: 169.2 kB / 0.6625 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3855, allocations: 0 / 0.6625 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3855, allocations: 0 / 0.6625 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3855, allocations: 1.281 kB / 0.6625 GB, free: 8.453 MB / 0.4981 GB 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.0004821/0.386, allocations: 403.4 kB / 0.6629 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.386, allocations: 12.59 kB / 0.6629 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.3861, allocations: 9.094 kB / 0.663 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.3862, allocations: 169.5 kB / 0.6631 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3862, allocations: 7.375 kB / 0.6631 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.3862, allocations: 6.188 kB / 0.6631 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3865, allocations: 83.23 kB / 0.6632 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3865, allocations: 4 kB / 0.6632 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3865, allocations: 5.375 kB / 0.6632 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3865, allocations: 1.562 kB / 0.6632 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.3867, allocations: 52.52 kB / 0.6633 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.3872, allocations: 325 kB / 0.6636 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3874, allocations: 87.69 kB / 0.6637 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.3875, allocations: 26.5 kB / 0.6637 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3876, allocations: 1.062 kB / 0.6637 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.3876, allocations: 31.62 kB / 0.6637 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3876, allocations: 1.094 kB / 0.6637 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001397/0.389, allocations: 0.6478 MB / 0.6644 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.389, allocations: 61.44 kB / 0.6644 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.659e-05/0.3891, allocations: 98.59 kB / 0.6645 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3891, allocations: 30.8 kB / 0.6645 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.3891, allocations: 89.48 kB / 0.6646 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.3892, allocations: 44 kB / 0.6647 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.3892, allocations: 27.11 kB / 0.6647 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.906e-05/0.3893, allocations: 315.9 kB / 0.665 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3894, allocations: 34.66 kB / 0.665 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.3895, allocations: 31.64 kB / 0.6651 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.3897, allocations: 78.17 kB / 0.6651 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3897, allocations: 0 / 0.6651 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002823/0.39, allocations: 115.1 kB / 0.6652 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.39, allocations: 10.27 kB / 0.6652 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3901, allocations: 0 / 0.6652 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3901, allocations: 7.938 kB / 0.6653 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.3902, allocations: 29.27 kB / 0.6653 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3902, allocations: 4 kB / 0.6653 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.918e-05/0.3903, allocations: 8.312 kB / 0.6653 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3903, allocations: 3.031 kB / 0.6653 GB, free: 5.883 MB / 0.4981 GB 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.7e-05/0.3904, allocations: 116.9 kB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3904, allocations: 3.406 kB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003349/0.3908, allocations: 139.5 kB / 0.6655 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3908, allocations: 9.344 kB / 0.6656 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3908, allocations: 0 / 0.6656 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3908, allocations: 5.266 kB / 0.6656 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.3913, allocations: 372.9 kB / 0.6659 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3913, allocations: 7.875 kB / 0.6659 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.3914, allocations: 27.64 kB / 0.6659 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3914, allocations: 5.25 kB / 0.666 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3914, allocations: 9.266 kB / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3914, allocations: 1.375 kB / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3915, allocations: 0 / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.3919, allocations: 242.7 kB / 0.6662 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.3919, allocations: 87.61 kB / 0.6663 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.3919, allocations: 1.125 kB / 0.6663 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.3921, allocations: 15.95 kB / 0.6663 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.3921, allocations: 3.844 kB / 0.6663 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3921, allocations: 3.531 kB / 0.6663 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.076e-05/0.3921, allocations: 81.61 kB / 0.6664 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.51e-07/0.3921, allocations: 0 / 0.6664 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002831/0.3924, allocations: 42.88 kB / 0.6664 GB, free: 4.879 MB / 0.4981 GB 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.0001783/0.3926, allocations: 140 kB / 0.6666 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.3929, allocations: 82.98 kB / 0.6666 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3929, allocations: 1.219 kB / 0.6666 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.393, allocations: 47 kB / 0.6667 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3933, allocations: 13.69 kB / 0.6667 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005624/0.3939, allocations: 315.3 kB / 0.667 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.779e-05/0.394, allocations: 0.6958 MB / 0.6677 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.303e-05/0.3941, allocations: 10.7 kB / 0.6677 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.3941, allocations: 17.61 kB / 0.6677 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3941, allocations: 0 / 0.6677 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of Templates: time 0.003348/0.3975, allocations: 1.14 MB / 0.6688 GB, free: 3.172 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)