Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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-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_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.0009835/0.0009835, allocations: 86.25 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.001308/0.001308, 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.36/1.36, allocations: 223.2 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9221/0.9221, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 9.344 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1697, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001367/0.1711, allocations: 0.9937 MB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008914/0.172, allocations: 0.5667 MB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.405e-05/0.172, allocations: 0 / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1721, allocations: 4 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.1721, allocations: 7.922 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1726, allocations: 127.6 kB / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.1727, allocations: 19.94 kB / 0.5892 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.1727, allocations: 3.984 kB / 0.5892 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.1728, allocations: 15.94 kB / 0.5892 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.1728, allocations: 11.98 kB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.1728, allocations: 7.922 kB / 0.5892 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.1733, allocations: 331.4 kB / 0.5895 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.1733, allocations: 7.938 kB / 0.5895 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.1734, allocations: 29.7 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1736, allocations: 104 kB / 0.5896 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1736, allocations: 3.938 kB / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1736, allocations: 0 / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1736, allocations: 0 / 0.5896 GB, free: 0.6367 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000401/0.174, allocations: 371.2 kB / 0.59 GB, free: 232 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.174, allocations: 8.031 kB / 0.59 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.1741, allocations: 34.56 kB / 0.59 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1741, allocations: 4 kB / 0.59 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1742, allocations: 167 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1743, allocations: 4 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1743, allocations: 8 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1744, allocations: 53.59 kB / 0.5903 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1744, allocations: 4 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1744, allocations: 8 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1745, allocations: 0 / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.545e-05/0.1745, allocations: 19.98 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.1747, allocations: 169.5 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1748, allocations: 58.5 kB / 0.5905 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.1748, allocations: 28.84 kB / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1749, allocations: 4 kB / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1749, allocations: 34.56 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1749, allocations: 0 / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001064/0.176, allocations: 0.5762 MB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.176, allocations: 55.41 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1761, allocations: 97.84 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1761, allocations: 29.7 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.1761, allocations: 80.14 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1762, allocations: 39.39 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.1762, allocations: 4 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1763, allocations: 318.8 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/0.1764, allocations: 24.11 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.1764, allocations: 23.98 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.1764, allocations: 24 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1765, allocations: 0 / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00014/0.1766, allocations: 104.8 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1766, allocations: 8 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1766, allocations: 96 / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.1766, allocations: 3.938 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1768, allocations: 23.98 kB / 0.5919 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.1768, allocations: 4 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.1768, allocations: 4 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1768, allocations: 8 kB / 0.592 GB, free: 13.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.1769, allocations: 117.7 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.1769, allocations: 7.984 kB / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1771, allocations: 105.5 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1771, allocations: 4 kB / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1771, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1771, allocations: 0 / 0.5922 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.1775, allocations: 362.1 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1776, allocations: 0 / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1777, allocations: 23.98 kB / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1777, allocations: 0 / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1777, allocations: 0 / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.1777, allocations: 80 / 0.5926 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1777, allocations: 7.984 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.178, allocations: 215.4 kB / 0.5928 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.178, allocations: 85.08 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.1781, allocations: 12.02 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.1781, allocations: 0 / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1782, allocations: 4 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1782, allocations: 11.98 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.1782, allocations: 75.28 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002674/0.1785, allocations: 32 kB / 0.593 GB, free: 12.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0005973/0.1791, allocations: 0.7865 MB / 0.5937 GB, free: 12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.1792, allocations: 63.97 kB / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1793, allocations: 0 / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.433e-05/0.1793, allocations: 27.94 kB / 0.5938 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1795, allocations: 13.7 kB / 0.5938 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.1805, allocations: 0.647 MB / 0.5945 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1809, allocations: 0.6848 MB / 0.5951 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.181, allocations: 12.06 kB / 0.5952 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.181, allocations: 15.44 kB / 0.5952 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.181, allocations: 0 / 0.5952 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.1922, allocations: 1.818 MB / 0.5969 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.1924, allocations: 220.1 kB / 0.5972 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.849, allocations: 3.625 kB / 0.5972 GB, free: 8.609 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: