Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.01238/0.01238, allocations: 101.6 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.001931/0.001931, allocations: 196.1 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.237/2.237, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.498/1.498, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002487, allocations: 58.42 kB / 0.5808 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2523, allocations: 80.21 MB / 0.6592 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.005058/0.2575, allocations: 1.265 MB / 0.6604 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.2593, allocations: 0.6191 MB / 0.661 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.2594, allocations: 0 / 0.661 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.2595, allocations: 0 / 0.661 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.141e-05/0.2596, allocations: 7.922 kB / 0.661 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.2608, allocations: 144.8 kB / 0.6612 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.2609, allocations: 19.92 kB / 0.6612 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.056e-05/0.261, allocations: 3.984 kB / 0.6612 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.2611, allocations: 11.94 kB / 0.6612 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.2612, allocations: 8 kB / 0.6612 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2612, allocations: 4 kB / 0.6612 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009077/0.2621, allocations: 347.2 kB / 0.6615 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.2622, allocations: 0 / 0.6615 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.2622, allocations: 15.92 kB / 0.6616 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.2627, allocations: 147.1 kB / 0.6617 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.2627, allocations: 0 / 0.6617 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.306e-06/0.2627, allocations: 3.938 kB / 0.6617 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2628, allocations: 0 / 0.6617 GB, free: 8.281 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.0007668/0.2635, allocations: 355.7 kB / 0.662 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.2636, allocations: 12.03 kB / 0.6621 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.762e-05/0.2637, allocations: 30.75 kB / 0.6621 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.2637, allocations: 8.844 kB / 0.6621 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2639, allocations: 164.4 kB / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2639, allocations: 384 / 0.6622 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.264, allocations: 12.12 kB / 0.6623 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.2642, allocations: 33.69 kB / 0.6623 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2642, allocations: 3.938 kB / 0.6623 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.2642, allocations: 8 kB / 0.6623 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2642, allocations: 0 / 0.6623 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.2643, allocations: 15.92 kB / 0.6623 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.2646, allocations: 157.7 kB / 0.6625 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.2649, allocations: 42.56 kB / 0.6625 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.265, allocations: 20.8 kB / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.265, allocations: 0 / 0.6625 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.2651, allocations: 38.64 kB / 0.6626 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.2651, allocations: 0 / 0.6626 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009993/0.2661, allocations: 310.2 kB / 0.6629 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.2662, allocations: 51.41 kB / 0.6629 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.221e-05/0.2663, allocations: 93.86 kB / 0.663 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.2663, allocations: 33.69 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.2664, allocations: 84.14 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.031e-05/0.2664, allocations: 23.66 kB / 0.6631 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.2665, allocations: 21.72 kB / 0.6632 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2667, allocations: 314.8 kB / 0.6635 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.2667, allocations: 12.06 kB / 0.6635 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.2668, allocations: 16 kB / 0.6635 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.2669, allocations: 33 kB / 0.6635 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2669, allocations: 3.938 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002062/0.2671, allocations: 77.5 kB / 0.6636 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2672, allocations: 8 kB / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2672, allocations: 0 / 0.6636 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.2672, allocations: 4.516 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.2673, allocations: 8 kB / 0.6636 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.2673, allocations: 7.938 kB / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.2674, allocations: 0 / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.2674, allocations: 0 / 0.6636 GB, free: 6.039 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.0001171/0.2675, allocations: 118.7 kB / 0.6637 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.2675, allocations: 3.984 kB / 0.6637 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.2678, allocations: 69.59 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.2678, allocations: 11.98 kB / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2678, allocations: 0 / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2678, allocations: 0 / 0.6638 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.2683, allocations: 319.3 kB / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2684, allocations: 0 / 0.6641 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.2685, allocations: 12 kB / 0.6641 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2685, allocations: 0 / 0.6641 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2685, allocations: 4 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2685, allocations: 0 / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2685, allocations: 4.031 kB / 0.6641 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.2688, allocations: 188.4 kB / 0.6643 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.2689, allocations: 85.14 kB / 0.6644 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.269, allocations: 4 kB / 0.6644 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2691, allocations: 3.984 kB / 0.6644 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.2691, allocations: 4 kB / 0.6644 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2691, allocations: 3.938 kB / 0.6644 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.2692, allocations: 87.34 kB / 0.6645 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2692, allocations: 0 / 0.6645 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004452/0.2697, allocations: 19.98 kB / 0.6645 GB, free: 4.996 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0008165/0.2705, allocations: 0.729 MB / 0.6652 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001698/0.2707, allocations: 31.98 kB / 0.6653 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2707, allocations: 0 / 0.6653 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.2707, allocations: 19.92 kB / 0.6653 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.2712, allocations: 13.81 kB / 0.6653 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.2731, allocations: 1.323 MB / 0.6666 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.2735, allocations: 0.6807 MB / 0.6672 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.827e-05/0.2736, allocations: 4.312 kB / 0.6673 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.2737, allocations: 15.44 kB / 0.6673 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.2737, allocations: 3.938 kB / 0.6673 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03477/0.3085, allocations: 1.601 MB / 0.6688 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.9, allocations: 11.41 kB / 0.6688 GB, free: 0.5977 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)