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.001247/0.001247, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001626/0.001626, allocations: 177.3 kB / 15.94 MB, free: 228 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.608/1.608, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.497/1.497, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005776/0.0005777, allocations: 8 kB / 0.5069 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2612, allocations: 82.31 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002331/0.2636, allocations: 0.9828 MB / 0.5882 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2647, allocations: 359.1 kB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.037e-05/0.2648, allocations: 0 / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.2648, allocations: 0 / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.2649, allocations: 3.938 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.2655, allocations: 82.56 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.2655, allocations: 19.97 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.566e-05/0.2656, allocations: 4 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.2657, allocations: 8 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.2658, allocations: 15.92 kB / 0.5887 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.2658, allocations: 4 kB / 0.5887 GB, free: 1.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.2663, allocations: 187.6 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.2663, allocations: 7.984 kB / 0.5889 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.2664, allocations: 29.7 kB / 0.5889 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.2666, allocations: 56.16 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2666, allocations: 0 / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2666, allocations: 0 / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2667, allocations: 0 / 0.589 GB, free: 1.281 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.0005511/0.2672, allocations: 353.7 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.2673, allocations: 12.03 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.2674, allocations: 34.5 kB / 0.5894 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.2674, allocations: 4 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.2676, allocations: 167 kB / 0.5895 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2677, allocations: 7.984 kB / 0.5895 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.2677, allocations: 4 kB / 0.5895 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2679, allocations: 45.69 kB / 0.5896 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2679, allocations: 0 / 0.5896 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.2679, allocations: 4 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.268, allocations: 4 kB / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.2681, allocations: 23.92 kB / 0.5896 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.2684, allocations: 177.4 kB / 0.5898 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.2686, allocations: 62.61 kB / 0.5898 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.2686, allocations: 4 kB / 0.5898 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.2687, allocations: 30.56 kB / 0.5899 GB, free: 204 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.2687, allocations: 4 kB / 0.5899 GB, free: 200 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.00184/0.2705, allocations: 0.5755 MB / 0.5904 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2706, allocations: 51.41 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2708, allocations: 101.8 kB / 0.5906 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.2708, allocations: 33.64 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.2709, allocations: 84.12 kB / 0.5907 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.271, allocations: 39.55 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.271, allocations: 7.938 kB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.2712, allocations: 318.8 kB / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.2713, allocations: 20 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.2714, allocations: 19.98 kB / 0.5911 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.2715, allocations: 24 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2715, allocations: 4.125 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002675/0.2718, allocations: 97.59 kB / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2719, allocations: 4 kB / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.2719, allocations: 0 / 0.5912 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2719, allocations: 3.984 kB / 0.5912 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.2721, allocations: 27.94 kB / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2721, allocations: 0 / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.208e-05/0.2722, allocations: 0 / 0.5912 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.2722, allocations: 4 kB / 0.5912 GB, free: 14.66 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 0.0001471/0.2724, allocations: 125.7 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.2724, allocations: 4 kB / 0.5914 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.2728, allocations: 109.4 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2728, allocations: 4 kB / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.2728, allocations: 0 / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.2728, allocations: 0 / 0.5915 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.2735, allocations: 342.5 kB / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2736, allocations: 4 kB / 0.5918 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2738, allocations: 23.92 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.2738, allocations: 4 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.2739, allocations: 4 kB / 0.5918 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2739, allocations: 4 kB / 0.5918 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.2739, allocations: 3.984 kB / 0.5918 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005788/0.2745, allocations: 211.4 kB / 0.592 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.2747, allocations: 85.02 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2748, allocations: 4.031 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.275, allocations: 4.062 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.275, allocations: 7.984 kB / 0.5921 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.2751, allocations: 12 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.2751, allocations: 75.28 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2751, allocations: 0 / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005235/0.2757, allocations: 32 kB / 0.5923 GB, free: 13.51 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.001115/0.2768, allocations: 0.7953 MB / 0.593 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.2771, allocations: 67.91 kB / 0.5931 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2771, allocations: 0 / 0.5931 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.715e-05/0.2772, allocations: 35.86 kB / 0.5931 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2775, allocations: 11.94 kB / 0.5931 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.2793, allocations: 0.6413 MB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.2799, allocations: 0.6848 MB / 0.5944 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.609e-05/0.28, allocations: 20.03 kB / 0.5945 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.2801, allocations: 19.44 kB / 0.5945 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.2801, allocations: 0 / 0.5945 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.3012, allocations: 1.786 MB / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/0.3017, allocations: 213.3 kB / 0.5964 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.436/2.738, allocations: 64 / 0.5964 GB, free: 9.32 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: