Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.01137/0.01137, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002267/0.002267, allocations: 195.3 kB / 16.68 MB, free: 5.957 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.156/2.156, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.294/1.294, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 65.89 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2614, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.004607/0.2661, allocations: 1.273 MB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2679, allocations: 0.6191 MB / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.2679, allocations: 0 / 0.661 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.268, allocations: 3.938 kB / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.7e-05/0.2681, allocations: 0 / 0.661 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.2691, allocations: 156.8 kB / 0.6612 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2693, allocations: 19.86 kB / 0.6612 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.082e-05/0.2693, allocations: 4 kB / 0.6612 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.391e-05/0.2694, allocations: 11.94 kB / 0.6612 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.2695, allocations: 7.969 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2695, allocations: 4 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000847/0.2704, allocations: 335.4 kB / 0.6616 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.2704, allocations: 15.88 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2705, allocations: 7.984 kB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.2709, allocations: 143.1 kB / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/0.271, allocations: 0 / 0.6617 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.316e-06/0.271, allocations: 4 kB / 0.6617 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.271, allocations: 0 / 0.6617 GB, free: 8.156 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007213/0.2717, allocations: 355.7 kB / 0.6621 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.603e-05/0.2718, allocations: 12.03 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.2719, allocations: 38.67 kB / 0.6621 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.844e-05/0.272, allocations: 8.844 kB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.2722, allocations: 160.4 kB / 0.6623 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.2722, allocations: 8.312 kB / 0.6623 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.2723, allocations: 4.125 kB / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2725, allocations: 45.69 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2725, allocations: 0 / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.2725, allocations: 0 / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.2725, allocations: 0 / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.2726, allocations: 8 kB / 0.6623 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.2729, allocations: 157.7 kB / 0.6625 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.2732, allocations: 46.53 kB / 0.6625 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.2733, allocations: 24.8 kB / 0.6625 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.2734, allocations: 0 / 0.6625 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.2734, allocations: 38.56 kB / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.2734, allocations: 0 / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009927/0.2744, allocations: 318.5 kB / 0.6629 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.2745, allocations: 51.41 kB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.2746, allocations: 105.8 kB / 0.663 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2747, allocations: 25.7 kB / 0.6631 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.2747, allocations: 84.14 kB / 0.6631 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.2748, allocations: 23.64 kB / 0.6632 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.2749, allocations: 17.72 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2751, allocations: 314.8 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.2751, allocations: 11.98 kB / 0.6635 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.2752, allocations: 12 kB / 0.6635 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.2753, allocations: 32.86 kB / 0.6635 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2753, allocations: 3.938 kB / 0.6635 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001843/0.2755, allocations: 69.59 kB / 0.6636 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.2755, allocations: 5.562 kB / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2755, allocations: 0 / 0.6636 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/0.2756, allocations: 3.938 kB / 0.6636 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2757, allocations: 15.98 kB / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.2757, allocations: 240 / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.116e-05/0.2757, allocations: 0 / 0.6636 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/0.2758, allocations: 0 / 0.6636 GB, free: 5.918 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 0.0001508/0.2759, allocations: 122.7 kB / 0.6637 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.276, allocations: 0 / 0.6637 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.2763, allocations: 81.56 kB / 0.6638 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.2763, allocations: 3.938 kB / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/0.2763, allocations: 0 / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2763, allocations: 0 / 0.6638 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.2769, allocations: 311.4 kB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.2769, allocations: 4 kB / 0.6641 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.277, allocations: 23.95 kB / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2771, allocations: 0 / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2771, allocations: 4 kB / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2771, allocations: 0 / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2771, allocations: 0 / 0.6642 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.2775, allocations: 184.4 kB / 0.6643 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.2776, allocations: 85.12 kB / 0.6644 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.2776, allocations: 4.062 kB / 0.6644 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.2778, allocations: 4 kB / 0.6644 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.2778, allocations: 11.92 kB / 0.6644 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.2778, allocations: 7.938 kB / 0.6644 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.858e-05/0.2779, allocations: 75.28 kB / 0.6645 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2779, allocations: 0 / 0.6645 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004732/0.2784, allocations: 19.94 kB / 0.6645 GB, free: 4.871 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 (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.000886/0.2793, allocations: 0.729 MB / 0.6652 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001758/0.2795, allocations: 35.92 kB / 0.6653 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2795, allocations: 0 / 0.6653 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.2796, allocations: 19.94 kB / 0.6653 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.28, allocations: 3.938 kB / 0.6653 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.2822, allocations: 1.323 MB / 0.6666 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2826, allocations: 0.6807 MB / 0.6673 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.2827, allocations: 8.062 kB / 0.6673 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.2827, allocations: 15.42 kB / 0.6673 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/0.2828, allocations: 0 / 0.6673 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.3166, allocations: 1.629 MB / 0.6689 GB, free: 476 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.18, allocations: 12.16 kB / 0.6689 GB, free: 468 kB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)