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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.00827/0.00827, allocations: 171.3 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.7763/0.7763, allocations: 135.2 MB / 151 MB, free: 13.85 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.564/1.564, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0009818/0.0009819, allocations: 109.9 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 12 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4546, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.6212, allocations: 112.3 MB / 0.7592 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6216, allocations: 83.89 kB / 0.7593 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.6356, allocations: 4.55 MB / 0.7637 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.767e-06/0.6357, allocations: 3.938 kB / 0.7637 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.6357, allocations: 0 / 0.7637 GB, free: 15.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006049/0.6363, allocations: 355.3 kB / 0.764 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.6364, allocations: 8.031 kB / 0.764 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.636e-05/0.6365, allocations: 38.55 kB / 0.7641 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.6365, allocations: 0 / 0.7641 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.6367, allocations: 171 kB / 0.7642 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.6367, allocations: 8 kB / 0.7643 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.6367, allocations: 4 kB / 0.7643 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.6369, allocations: 53.61 kB / 0.7643 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.637, allocations: 11.97 kB / 0.7643 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.637, allocations: 0 / 0.7643 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.637, allocations: 0 / 0.7643 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.926e-05/0.637, allocations: 19.98 kB / 0.7643 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.6373, allocations: 173.5 kB / 0.7645 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6375, allocations: 58.56 kB / 0.7646 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.6375, allocations: 0 / 0.7646 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.6375, allocations: 34.5 kB / 0.7646 GB, free: 14 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.6375, allocations: 4 kB / 0.7646 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001343/0.6389, allocations: 0.5836 MB / 0.7652 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.639, allocations: 55.41 kB / 0.7652 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.6391, allocations: 88.98 kB / 0.7653 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.6391, allocations: 33.7 kB / 0.7653 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.6391, allocations: 80.14 kB / 0.7654 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.6392, allocations: 35.45 kB / 0.7654 GB, free: 13 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.6392, allocations: 4 kB / 0.7655 GB, free: 13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6394, allocations: 322.9 kB / 0.7658 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.6394, allocations: 19.98 kB / 0.7658 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.6395, allocations: 21 kB / 0.7658 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.6395, allocations: 27.98 kB / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6395, allocations: 0 / 0.7658 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001757/0.6397, allocations: 102.1 kB / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.6397, allocations: 4 kB / 0.7659 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6398, allocations: 4 kB / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6398, allocations: 0 / 0.7659 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.6399, allocations: 23.98 kB / 0.766 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6399, allocations: 4.312 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.64, allocations: 4 kB / 0.766 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.64, allocations: 0 / 0.766 GB, free: 12.46 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 (13): * Single equations (assignments): 13 * 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 0.0001039/0.6401, allocations: 121.7 kB / 0.7661 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.6401, allocations: 4 kB / 0.7661 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.6403, allocations: 105.6 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6404, allocations: 0 / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6404, allocations: 0 / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.6404, allocations: 8 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.6409, allocations: 358.5 kB / 0.7665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6409, allocations: 4 kB / 0.7665 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.641, allocations: 19.98 kB / 0.7666 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.641, allocations: 4 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.641, allocations: 4 kB / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6411, allocations: 0 / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6411, allocations: 96 / 0.7666 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.6414, allocations: 233.7 kB / 0.7668 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.6414, allocations: 81.02 kB / 0.7669 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.6414, allocations: 0 / 0.7669 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/0.6415, allocations: 8.016 kB / 0.7669 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.6416, allocations: 11.98 kB / 0.7669 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6416, allocations: 0 / 0.7669 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.6416, allocations: 83.27 kB / 0.767 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6416, allocations: 160 / 0.767 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003143/0.642, allocations: 47.94 kB / 0.767 GB, free: 11.28 MB / 0.5417 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 (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.0007486/0.6427, allocations: 0.7826 MB / 0.7678 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.6429, allocations: 59.97 kB / 0.7678 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6429, allocations: 0 / 0.7678 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.899e-05/0.643, allocations: 35.92 kB / 0.7679 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.6431, allocations: 8.062 kB / 0.7679 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.6442, allocations: 0.6646 MB / 0.7685 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6445, allocations: 0.6848 MB / 0.7692 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.47e-05/0.6446, allocations: 7.984 kB / 0.7692 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.6446, allocations: 19.44 kB / 0.7692 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of SimCode: time 3.8e-07/0.6446, allocations: 0 / 0.7692 GB, free: 8.918 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01363/0.6583, allocations: 1.752 MB / 0.7709 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.6586, allocations: 207.1 kB / 0.7711 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.384, allocations: 1.719 kB / 0.7711 GB, free: 7.109 MB / 0.5417 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/linux/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)