Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/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_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.01188/0.01188, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.002093/0.002093, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.052/2.052, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.286/1.286, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 61.31 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2713, allocations: 80.22 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.004235/0.2756, allocations: 1.458 MB / 0.6606 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.2774, allocations: 0.6344 MB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.2774, allocations: 3.938 kB / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.591e-05/0.2775, allocations: 7.922 kB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.2776, allocations: 11.86 kB / 0.6613 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.2786, allocations: 159.4 kB / 0.6614 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.2787, allocations: 51.84 kB / 0.6615 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.2789, allocations: 4 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.279, allocations: 23.92 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.2791, allocations: 23.91 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.2791, allocations: 7.938 kB / 0.6615 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.28, allocations: 347.3 kB / 0.6618 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.2801, allocations: 15.98 kB / 0.6619 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.3e-05/0.2802, allocations: 19.88 kB / 0.6619 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.2807, allocations: 183.2 kB / 0.6621 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.2807, allocations: 4 kB / 0.6621 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.629e-06/0.2807, allocations: 0 / 0.6621 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.2807, allocations: 0 / 0.6621 GB, free: 7.805 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001021/0.2818, allocations: 395.3 kB / 0.6624 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.011e-05/0.2819, allocations: 8.031 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.2819, allocations: 38.75 kB / 0.6625 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.282, allocations: 12.84 kB / 0.6625 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2822, allocations: 172.2 kB / 0.6627 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.2823, allocations: 12.38 kB / 0.6627 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.2824, allocations: 8.125 kB / 0.6627 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.2827, allocations: 77.66 kB / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2828, allocations: 0 / 0.6628 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2828, allocations: 4 kB / 0.6628 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2828, allocations: 0 / 0.6628 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.2832, allocations: 47.95 kB / 0.6628 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009092/0.2841, allocations: 324.6 kB / 0.6631 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.2846, allocations: 86.52 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.2847, allocations: 28.78 kB / 0.6632 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2848, allocations: 0 / 0.6632 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.2848, allocations: 42.56 kB / 0.6633 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2848, allocations: 0 / 0.6633 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.002609/0.2875, allocations: 0.6486 MB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.2875, allocations: 55.41 kB / 0.6639 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2877, allocations: 101.8 kB / 0.664 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.2878, allocations: 29.64 kB / 0.6641 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.2878, allocations: 92.05 kB / 0.6642 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.2879, allocations: 39.39 kB / 0.6642 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.288, allocations: 29.7 kB / 0.6642 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.2882, allocations: 322.8 kB / 0.6645 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.2884, allocations: 28.11 kB / 0.6646 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.2887, allocations: 43.34 kB / 0.6646 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.2891, allocations: 68.83 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2891, allocations: 0 / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005345/0.2896, allocations: 121.5 kB / 0.6648 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.2897, allocations: 4 kB / 0.6648 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2897, allocations: 0 / 0.6648 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.2897, allocations: 7.938 kB / 0.6648 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.29, allocations: 27.98 kB / 0.6648 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.29, allocations: 3.984 kB / 0.6648 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.2901, allocations: 4 kB / 0.6648 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.196e-05/0.2902, allocations: 7.984 kB / 0.6648 GB, free: 4.645 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.2903, allocations: 118.7 kB / 0.665 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.2904, allocations: 4 kB / 0.665 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.291, allocations: 133.4 kB / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2911, allocations: 0 / 0.6651 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.2911, allocations: 3.984 kB / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2911, allocations: 0 / 0.6651 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2921, allocations: 390.4 kB / 0.6655 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.2921, allocations: 4 kB / 0.6655 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2924, allocations: 27.97 kB / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2924, allocations: 0 / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.2924, allocations: 0 / 0.6655 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.2924, allocations: 4 kB / 0.6655 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2925, allocations: 3.938 kB / 0.6655 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008473/0.2933, allocations: 251.5 kB / 0.6657 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.2934, allocations: 84.95 kB / 0.6658 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.2934, allocations: 4.031 kB / 0.6658 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.2937, allocations: 11.98 kB / 0.6658 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2937, allocations: 4 kB / 0.6658 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2937, allocations: 3.984 kB / 0.6658 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002538/0.294, allocations: 87.45 kB / 0.6659 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.294, allocations: 0 / 0.6659 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005498/0.2946, allocations: 40 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.001541/0.2961, allocations: 0.8168 MB / 0.6668 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.2967, allocations: 83.95 kB / 0.6668 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.2967, allocations: 8 kB / 0.6668 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.297, allocations: 47.91 kB / 0.6669 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.2975, allocations: 8 kB / 0.6669 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.3012, allocations: 1.604 MB / 0.6685 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.3019, allocations: 0.6929 MB / 0.6691 GB, free: 16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.3021, allocations: 16.66 kB / 0.6692 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.3022, allocations: 19.44 kB / 0.6692 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/0.3022, allocations: 0 / 0.6692 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.3388, allocations: 2.343 MB / 0.6715 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.58, allocations: 11.53 kB / 0.6715 GB, free: 13.78 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)