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.006189/0.006189, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001255/0.001255, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7715/0.7715, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 67.89 kB / 0.5814 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3786, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00219/0.3808, allocations: 1.453 MB / 0.6611 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009067/0.3818, allocations: 0.6444 MB / 0.6617 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.3818, allocations: 1.344 kB / 0.6617 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.3818, allocations: 9.625 kB / 0.6617 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.3819, allocations: 5.906 kB / 0.6617 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.3824, allocations: 159 kB / 0.6619 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.009e-05/0.3825, allocations: 49.94 kB / 0.6619 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3825, allocations: 4.156 kB / 0.6619 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.3826, allocations: 25.55 kB / 0.662 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.3827, allocations: 29.44 kB / 0.662 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3827, allocations: 7.906 kB / 0.662 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.3832, allocations: 355.7 kB / 0.6623 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3832, allocations: 6.75 kB / 0.6624 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3832, allocations: 27.45 kB / 0.6624 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.3835, allocations: 176.1 kB / 0.6625 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3835, allocations: 0 / 0.6625 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3835, allocations: 0 / 0.6625 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3835, allocations: 0 / 0.6625 GB, free: 8.449 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.0004545/0.384, allocations: 403.7 kB / 0.6629 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.384, allocations: 8.781 kB / 0.6629 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.384, allocations: 9.234 kB / 0.6629 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.821e-05/0.3841, allocations: 173.9 kB / 0.6631 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3841, allocations: 7.906 kB / 0.6631 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3841, allocations: 4.312 kB / 0.6631 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3843, allocations: 84.88 kB / 0.6632 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3844, allocations: 3.953 kB / 0.6632 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3844, allocations: 5.062 kB / 0.6632 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3844, allocations: 5.406 kB / 0.6632 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/0.3846, allocations: 52.8 kB / 0.6633 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.385, allocations: 320.2 kB / 0.6636 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3853, allocations: 87.91 kB / 0.6637 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.3854, allocations: 26.91 kB / 0.6637 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3854, allocations: 1.344 kB / 0.6637 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/0.3854, allocations: 31.66 kB / 0.6637 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3854, allocations: 0 / 0.6637 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001355/0.3868, allocations: 0.6525 MB / 0.6644 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.3868, allocations: 52.69 kB / 0.6644 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.3869, allocations: 98.94 kB / 0.6645 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.3869, allocations: 38.73 kB / 0.6645 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.139e-05/0.3869, allocations: 90.56 kB / 0.6646 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.387, allocations: 39.53 kB / 0.6647 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.387, allocations: 30.89 kB / 0.6647 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.387, allocations: 320.1 kB / 0.665 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3872, allocations: 30.02 kB / 0.665 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.3873, allocations: 39.38 kB / 0.6651 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.3875, allocations: 74.39 kB / 0.6651 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3875, allocations: 0 / 0.6651 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002802/0.3878, allocations: 119 kB / 0.6652 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3878, allocations: 6.562 kB / 0.6653 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3879, allocations: 1.094 kB / 0.6653 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3879, allocations: 5.188 kB / 0.6653 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.388, allocations: 28.27 kB / 0.6653 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.388, allocations: 0 / 0.6653 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.3881, allocations: 11.53 kB / 0.6653 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.3881, allocations: 7.328 kB / 0.6653 GB, free: 5.875 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 4.877e-05/0.3882, allocations: 113.9 kB / 0.6654 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3882, allocations: 6.547 kB / 0.6654 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.3885, allocations: 132.6 kB / 0.6655 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3885, allocations: 9.172 kB / 0.6656 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3885, allocations: 7.984 kB / 0.6656 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3886, allocations: 0 / 0.6656 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.389, allocations: 378.3 kB / 0.6659 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.389, allocations: 7.875 kB / 0.6659 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3891, allocations: 27.11 kB / 0.666 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3892, allocations: 5.297 kB / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3892, allocations: 1.156 kB / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3892, allocations: 1.469 kB / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3892, allocations: 0 / 0.666 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.3896, allocations: 247.6 kB / 0.6662 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.3896, allocations: 87.16 kB / 0.6663 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.3897, allocations: 1.062 kB / 0.6663 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.3898, allocations: 12.92 kB / 0.6663 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.3898, allocations: 7.219 kB / 0.6663 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.3898, allocations: 6.688 kB / 0.6663 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.3898, allocations: 87.02 kB / 0.6664 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.72e-07/0.3898, allocations: 0 / 0.6664 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002601/0.3901, allocations: 41.69 kB / 0.6664 GB, free: 4.863 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.0001597/0.3903, allocations: 136.9 kB / 0.6666 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003002/0.3906, allocations: 83.48 kB / 0.6666 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3906, allocations: 7.938 kB / 0.6666 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3907, allocations: 43.41 kB / 0.6667 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.391, allocations: 12.84 kB / 0.6667 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.3915, allocations: 311.9 kB / 0.667 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.3917, allocations: 0.6953 MB / 0.6677 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.258e-05/0.3917, allocations: 11.53 kB / 0.6677 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.3917, allocations: 13.25 kB / 0.6677 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3918, allocations: 0 / 0.6677 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of Templates: time 0.003176/0.3949, allocations: 1.138 MB / 0.6688 GB, free: 3.164 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)