Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_dp_DerivativeCheck2,fileNamePrefix="IDEAS_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_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.01222/0.01222, allocations: 102 kB / 15.73 MB, free: 6.039 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.003166/0.003166, allocations: 193.5 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.26/2.26, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.205/1.205, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 67.89 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2873, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.004872/0.2922, allocations: 1.276 MB / 0.6604 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.2943, allocations: 0.623 MB / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.2944, allocations: 0 / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.2944, allocations: 0 / 0.661 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.2946, allocations: 3.938 kB / 0.661 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.2957, allocations: 155.3 kB / 0.6612 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2958, allocations: 23.92 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.918e-05/0.2959, allocations: 8 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.262e-05/0.296, allocations: 11.94 kB / 0.6612 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.2961, allocations: 19.91 kB / 0.6613 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2961, allocations: 4 kB / 0.6613 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009323/0.2971, allocations: 343.3 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.2971, allocations: 3.984 kB / 0.6616 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.2972, allocations: 15.92 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.2977, allocations: 155.3 kB / 0.6618 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2978, allocations: 0 / 0.6618 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.487e-06/0.2978, allocations: 0 / 0.6618 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.2978, allocations: 0 / 0.6618 GB, free: 8.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007309/0.2985, allocations: 371.5 kB / 0.6621 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.716e-05/0.2986, allocations: 8.031 kB / 0.6621 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.884e-05/0.2987, allocations: 34.75 kB / 0.6621 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.2987, allocations: 4.844 kB / 0.6622 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.2989, allocations: 172.3 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.299, allocations: 4.375 kB / 0.6623 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.352e-05/0.299, allocations: 8.125 kB / 0.6623 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.2992, allocations: 53.67 kB / 0.6624 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2993, allocations: 0 / 0.6624 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2993, allocations: 4 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2993, allocations: 0 / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.2994, allocations: 23.92 kB / 0.6624 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.2997, allocations: 161.7 kB / 0.6626 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.2999, allocations: 58.5 kB / 0.6626 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.3, allocations: 36.78 kB / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.3, allocations: 0 / 0.6626 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3001, allocations: 34.56 kB / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3001, allocations: 0 / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001891/0.302, allocations: 0.5879 MB / 0.6633 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.3021, allocations: 59.34 kB / 0.6633 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3022, allocations: 97.84 kB / 0.6634 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.3022, allocations: 29.7 kB / 0.6634 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.3023, allocations: 84.23 kB / 0.6635 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.3024, allocations: 35.41 kB / 0.6635 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.3025, allocations: 29.7 kB / 0.6636 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3027, allocations: 318.8 kB / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.3027, allocations: 23.92 kB / 0.6639 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.3028, allocations: 32.11 kB / 0.6639 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.303, allocations: 52.23 kB / 0.664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.303, allocations: 0 / 0.664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002318/0.3032, allocations: 97.67 kB / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.3033, allocations: 4 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3033, allocations: 4 kB / 0.6641 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.3033, allocations: 0 / 0.6641 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.3035, allocations: 23.92 kB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.3035, allocations: 0 / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.3036, allocations: 8 kB / 0.6641 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.3036, allocations: 4 kB / 0.6641 GB, free: 5.398 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.0001576/0.3038, allocations: 122.7 kB / 0.6642 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.3038, allocations: 7.906 kB / 0.6642 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.3042, allocations: 105.5 kB / 0.6643 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3042, allocations: 3.984 kB / 0.6643 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3042, allocations: 4 kB / 0.6644 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3042, allocations: 0 / 0.6644 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.3049, allocations: 349.1 kB / 0.6647 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3049, allocations: 4 kB / 0.6647 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.3051, allocations: 23.94 kB / 0.6647 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3051, allocations: 0 / 0.6647 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3052, allocations: 0 / 0.6647 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.3052, allocations: 7.922 kB / 0.6647 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3052, allocations: 0 / 0.6647 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.3056, allocations: 215.4 kB / 0.6649 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3057, allocations: 77.11 kB / 0.665 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.3057, allocations: 12.09 kB / 0.665 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3059, allocations: 0 / 0.665 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.306, allocations: 11.92 kB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.306, allocations: 12 kB / 0.665 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.306, allocations: 75.28 kB / 0.6651 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3061, allocations: 0 / 0.6651 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005633/0.3066, allocations: 39.92 kB / 0.6651 GB, free: 4.234 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 (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.001002/0.3076, allocations: 0.7827 MB / 0.6659 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3079, allocations: 67.86 kB / 0.666 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3079, allocations: 0 / 0.666 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.308, allocations: 39.14 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3085, allocations: 15.28 kB / 0.666 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.311, allocations: 1.507 MB / 0.6675 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.3115, allocations: 0.6807 MB / 0.6682 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.403e-05/0.3116, allocations: 15.97 kB / 0.6682 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.3116, allocations: 15.44 kB / 0.6682 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.3117, allocations: 0 / 0.6682 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.3447, allocations: 2.081 MB / 0.6702 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.16, allocations: 4.938 kB / 0.6702 GB, free: 15.07 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)