Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001897/0.001897, 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.002547/0.002547, allocations: 190.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.339/2.339, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.399/1.399, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 64.81 kB / 0.505 GB, free: 5.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1662, allocations: 80.92 MB / 0.584 GB, free: 4.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002933/0.1691, allocations: 1.329 MB / 0.5853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1703, allocations: 0.6088 MB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.1703, allocations: 7.938 kB / 0.5859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1703, allocations: 3.938 kB / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.1704, allocations: 0 / 0.5859 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.1711, allocations: 123.6 kB / 0.586 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.419e-05/0.1711, allocations: 19.94 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.1712, allocations: 3.984 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.1712, allocations: 7.984 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.802e-05/0.1713, allocations: 11.94 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1713, allocations: 0 / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.1719, allocations: 351.3 kB / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.1719, allocations: 0 / 0.5864 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.172, allocations: 11.92 kB / 0.5864 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1723, allocations: 143.9 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1723, allocations: 0 / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1723, allocations: 0 / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1723, allocations: 4 kB / 0.5865 GB, free: 2.125 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.0004196/0.1727, allocations: 363.3 kB / 0.5869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1728, allocations: 8.031 kB / 0.5869 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.1728, allocations: 38.75 kB / 0.5869 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.1729, allocations: 8.938 kB / 0.5869 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.173, allocations: 168.3 kB / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.173, allocations: 384 / 0.5871 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.173, allocations: 4.375 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1732, allocations: 41.62 kB / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.1732, allocations: 0 / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1732, allocations: 0 / 0.5872 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1732, allocations: 4 kB / 0.5872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.1732, allocations: 11.98 kB / 0.5872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1734, allocations: 161.6 kB / 0.5873 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.1736, allocations: 50.5 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.1737, allocations: 16.86 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1737, allocations: 3.938 kB / 0.5874 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1737, allocations: 30.66 kB / 0.5874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.196e-06/0.1738, allocations: 0 / 0.5874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007017/0.1745, allocations: 314.5 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1745, allocations: 63.34 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.1746, allocations: 93.86 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.1746, allocations: 25.7 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.1747, allocations: 84.12 kB / 0.588 GB, free: 420 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1747, allocations: 19.72 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.1748, allocations: 17.72 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1749, allocations: 322.8 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.844e-05/0.175, allocations: 8 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.175, allocations: 15.94 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.1751, allocations: 37.03 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1751, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001276/0.1752, allocations: 69.56 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1753, allocations: 4 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1753, allocations: 4 kB / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1753, allocations: 0 / 0.5884 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.1754, allocations: 12 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1754, allocations: 3.938 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.1754, allocations: 4 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1754, allocations: 4 kB / 0.5885 GB, free: 15.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.259e-05/0.1755, allocations: 109.8 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.1755, allocations: 7.984 kB / 0.5886 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.1757, allocations: 73.72 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1757, allocations: 0 / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1757, allocations: 4 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1757, allocations: 4 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.1761, allocations: 319.2 kB / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1761, allocations: 0 / 0.589 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.1762, allocations: 8 kB / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1762, allocations: 4 kB / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1762, allocations: 0 / 0.589 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1762, allocations: 3.938 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1762, allocations: 0 / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.1764, allocations: 184.4 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1765, allocations: 77.11 kB / 0.5892 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1765, allocations: 8.031 kB / 0.5892 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.1766, allocations: 7.922 kB / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1766, allocations: 4 kB / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.1766, allocations: 0 / 0.5892 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.1767, allocations: 87.28 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1767, allocations: 0 / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003751/0.1771, allocations: 31.92 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB 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 0.0006494/0.1777, allocations: 0.7288 MB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1779, allocations: 39.98 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1779, allocations: 0 / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/0.178, allocations: 20.23 kB / 0.5901 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1783, allocations: 8 kB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1801, allocations: 1.327 MB / 0.5914 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1804, allocations: 0.6807 MB / 0.5921 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.1805, allocations: 12.28 kB / 0.5921 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.1805, allocations: 11.44 kB / 0.5921 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1805, allocations: 0 / 0.5921 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08372/0.2643, allocations: 1.491 MB / 0.5936 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/0.2647, allocations: 241.1 kB / 0.5938 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/2.911, allocations: 0 / 0.5938 GB, free: 10.33 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)