Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009233/0.0009233, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008724/0.0008724, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9682/0.9682, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 8 kB / 0.507 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 82.31 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001404/0.1985, allocations: 0.9866 MB / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009138/0.1994, allocations: 0.5667 MB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.1994, allocations: 0 / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1995, allocations: 3.938 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.904e-05/0.1995, allocations: 3.984 kB / 0.5889 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.2, allocations: 123.6 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.8e-05/0.2001, allocations: 23.86 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.2001, allocations: 4 kB / 0.5891 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.2002, allocations: 4 kB / 0.5891 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.2002, allocations: 19.91 kB / 0.5891 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2002, allocations: 3.938 kB / 0.5891 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004604/0.2007, allocations: 327.4 kB / 0.5894 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.2007, allocations: 3.938 kB / 0.5894 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.2008, allocations: 33.7 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2009, allocations: 96.11 kB / 0.5895 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.201, allocations: 4 kB / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.201, allocations: 0 / 0.5895 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.201, allocations: 0 / 0.5895 GB, free: 0.8047 MB / 494.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.0005386/0.2015, allocations: 359.2 kB / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2016, allocations: 8.031 kB / 0.5899 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.2016, allocations: 4 kB / 0.5899 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2017, allocations: 163 kB / 0.59 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.2018, allocations: 0 / 0.59 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.2018, allocations: 8 kB / 0.59 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.2019, allocations: 37.69 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2019, allocations: 3.938 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.202, allocations: 4 kB / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.202, allocations: 0 / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.202, allocations: 11.98 kB / 0.5901 GB, free: 128 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.2022, allocations: 161.7 kB / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2024, allocations: 46.56 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.2025, allocations: 16.86 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.2025, allocations: 0 / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.2025, allocations: 38.58 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2025, allocations: 3.938 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006394/0.2032, allocations: 306.2 kB / 0.5906 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2032, allocations: 59.34 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.2033, allocations: 106.2 kB / 0.5908 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.2033, allocations: 25.7 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.2034, allocations: 80.14 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.2034, allocations: 19.72 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.2034, allocations: 0 / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2035, allocations: 314.8 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.2036, allocations: 11.98 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.2036, allocations: 8 kB / 0.5912 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.2036, allocations: 19.95 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2036, allocations: 4 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.744e-05/0.2037, allocations: 69.53 kB / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2037, allocations: 4 kB / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2038, allocations: 0 / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2038, allocations: 0 / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.2038, allocations: 16.17 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2038, allocations: 0 / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.2039, allocations: 0 / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2039, allocations: 0 / 0.5913 GB, free: 14.67 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.511e-05/0.204, allocations: 121.8 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.204, allocations: 3.984 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.2041, allocations: 81.8 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2041, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2042, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2042, allocations: 0 / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.2045, allocations: 319.4 kB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2045, allocations: 0 / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.2046, allocations: 20.02 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2046, allocations: 0 / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2046, allocations: 0 / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2046, allocations: 0 / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2046, allocations: 4 kB / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2048, allocations: 184.4 kB / 0.592 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2049, allocations: 85.12 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.2049, allocations: 4 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.205, allocations: 8 kB / 0.5921 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.205, allocations: 7.984 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.205, allocations: 0 / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.205, allocations: 79.28 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.205, allocations: 0 / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002527/0.2053, allocations: 27.94 kB / 0.5923 GB, free: 13.63 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001691/0.2055, allocations: 115.2 kB / 0.5924 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2056, allocations: 43.86 kB / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2056, allocations: 0 / 0.5924 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.2056, allocations: 16 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.2058, allocations: 9.812 kB / 0.5924 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.2063, allocations: 221.7 kB / 0.5926 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2066, allocations: 0.6848 MB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.2067, allocations: 0 / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.2067, allocations: 11.44 kB / 0.5933 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.2067, allocations: 4 kB / 0.5933 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.002749/0.2095, allocations: 0.6097 MB / 0.5939 GB, free: 11.89 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)