Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_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_dev_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/Complex 4.0.0+maint.om/package.mo): time 0.01124/0.01124, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8554/0.8554, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 98.55 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003824, allocations: 16 kB / 0.5692 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4573, allocations: 82.3 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.6177, allocations: 112.1 MB / 0.759 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.618, allocations: 83.95 kB / 0.7591 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01245/0.6305, allocations: 4.063 MB / 0.7631 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6306, allocations: 0 / 0.7631 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.6306, allocations: 0 / 0.7631 GB, free: 15.66 MB / 0.5417 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.0004142/0.631, allocations: 351.3 kB / 0.7634 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6311, allocations: 8.031 kB / 0.7634 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.6311, allocations: 34.56 kB / 0.7635 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.6311, allocations: 0 / 0.7635 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.6313, allocations: 174.9 kB / 0.7636 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6313, allocations: 8 kB / 0.7636 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.6313, allocations: 4 kB / 0.7636 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.6315, allocations: 41.69 kB / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.6315, allocations: 0 / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6315, allocations: 0 / 0.7637 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6315, allocations: 4 kB / 0.7637 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.162e-05/0.6316, allocations: 8 kB / 0.7637 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.6318, allocations: 161.6 kB / 0.7638 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.632, allocations: 42.55 kB / 0.7639 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.632, allocations: 0 / 0.7639 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.632, allocations: 34.56 kB / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.632, allocations: 4 kB / 0.7639 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0006884/0.6327, allocations: 306.5 kB / 0.7642 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.6328, allocations: 51.41 kB / 0.7643 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.575e-05/0.6329, allocations: 89 kB / 0.7643 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.6329, allocations: 29.7 kB / 0.7644 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.6329, allocations: 84.08 kB / 0.7645 GB, free: 14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.633, allocations: 27.64 kB / 0.7645 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.633, allocations: 0 / 0.7645 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6331, allocations: 318.8 kB / 0.7648 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.906e-05/0.6332, allocations: 15.94 kB / 0.7648 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.6332, allocations: 15.97 kB / 0.7648 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.6333, allocations: 16.14 kB / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.6333, allocations: 0 / 0.7648 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000111/0.6334, allocations: 69.59 kB / 0.7649 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6334, allocations: 4 kB / 0.7649 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.6334, allocations: 0 / 0.7649 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6334, allocations: 4 kB / 0.7649 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.6335, allocations: 12 kB / 0.7649 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.6335, allocations: 0 / 0.7649 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.6335, allocations: 3.938 kB / 0.7649 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.6335, allocations: 7.984 kB / 0.7649 GB, free: 13.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.6336, allocations: 118.4 kB / 0.765 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.6336, allocations: 4 kB / 0.765 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.6338, allocations: 65.66 kB / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6338, allocations: 0 / 0.7651 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6338, allocations: 4 kB / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6338, allocations: 3.984 kB / 0.7651 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.6342, allocations: 315.5 kB / 0.7654 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6342, allocations: 4 kB / 0.7654 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-05/0.6343, allocations: 8 kB / 0.7654 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6343, allocations: 0 / 0.7654 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6343, allocations: 4 kB / 0.7654 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.6344, allocations: 0 / 0.7654 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6344, allocations: 0 / 0.7654 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.6346, allocations: 201.9 kB / 0.7656 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.6347, allocations: 85.12 kB / 0.7657 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.6347, allocations: 0 / 0.7657 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.6347, allocations: 4 kB / 0.7657 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.6348, allocations: 0 / 0.7657 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.6348, allocations: 11.95 kB / 0.7657 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.463e-05/0.6348, allocations: 83.33 kB / 0.7658 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6348, allocations: 3.938 kB / 0.7658 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002684/0.6351, allocations: 28 kB / 0.7658 GB, free: 12.45 MB / 0.5417 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 (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.0006505/0.6358, allocations: 0.8226 MB / 0.7666 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.6359, allocations: 31.98 kB / 0.7667 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6359, allocations: 3.938 kB / 0.7667 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.6359, allocations: 16 kB / 0.7667 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.6361, allocations: 3.953 kB / 0.7667 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008355/0.637, allocations: 0.4883 MB / 0.7672 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.6373, allocations: 0.6849 MB / 0.7678 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.105e-05/0.6373, allocations: 4 kB / 0.7678 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.6374, allocations: 15.38 kB / 0.7679 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of SimCode: time 3.5e-07/0.6374, allocations: 0 / 0.7679 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.6513, allocations: 1.344 MB / 0.7692 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002845/0.6516, allocations: 223.1 kB / 0.7694 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.343, allocations: 0 / 0.7694 GB, free: 8.855 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)