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.001231/0.001231, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0015/0.0015, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.28/2.28, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.24/1.24, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007216/0.0007219, allocations: 12.91 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8574/0.8582, allocations: 81.57 MB / 0.583 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002395/0.8606, allocations: 0.9762 MB / 0.5839 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.8618, allocations: 349.1 kB / 0.5843 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.8619, allocations: 4 kB / 0.5843 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.8619, allocations: 0.5625 kB / 0.5843 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.377e-05/0.862, allocations: 1.312 kB / 0.5843 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.8626, allocations: 74.16 kB / 0.5843 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.582e-05/0.8627, allocations: 15.66 kB / 0.5844 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.8627, allocations: 5.828 kB / 0.5844 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.8628, allocations: 4.609 kB / 0.5844 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.8629, allocations: 13.84 kB / 0.5844 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.8629, allocations: 0.9062 kB / 0.5844 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.8635, allocations: 183.3 kB / 0.5846 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.8636, allocations: 6.188 kB / 0.5846 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.8636, allocations: 27.67 kB / 0.5846 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.8639, allocations: 54.3 kB / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8639, allocations: 0 / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.8639, allocations: 0 / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.8639, allocations: 0 / 0.5846 GB, free: 2.773 MB / 430.1 MB 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.0005466/0.8645, allocations: 342.6 kB / 0.585 GB, free: 2.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.632e-05/0.8645, allocations: 8.938 kB / 0.585 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.8646, allocations: 40.11 kB / 0.585 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.8647, allocations: 1.969 kB / 0.585 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.8648, allocations: 165.5 kB / 0.5852 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.8648, allocations: 1.594 kB / 0.5852 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.8649, allocations: 1.688 kB / 0.5852 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.865, allocations: 43.23 kB / 0.5852 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8651, allocations: 0 / 0.5852 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.8651, allocations: 1.641 kB / 0.5852 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.8651, allocations: 1.031 kB / 0.5852 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.8652, allocations: 11.59 kB / 0.5852 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.8654, allocations: 170.7 kB / 0.5854 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.8657, allocations: 44.61 kB / 0.5854 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.8658, allocations: 0.8125 kB / 0.5854 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.8658, allocations: 40 kB / 0.5855 GB, free: 1.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.8658, allocations: 0 / 0.5855 GB, free: 1.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009051/0.8668, allocations: 311.9 kB / 0.5858 GB, free: 1.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.8668, allocations: 53.5 kB / 0.5858 GB, free: 1.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.705e-05/0.8669, allocations: 95.44 kB / 0.5859 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.8669, allocations: 26.48 kB / 0.5859 GB, free: 1.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.867, allocations: 86.42 kB / 0.586 GB, free: 1.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.867, allocations: 14.77 kB / 0.586 GB, free: 1.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.867, allocations: 4 kB / 0.586 GB, free: 1.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.8671, allocations: 318 kB / 0.5863 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.8672, allocations: 15.61 kB / 0.5864 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.151e-05/0.8672, allocations: 12.03 kB / 0.5864 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.8673, allocations: 11.12 kB / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.8673, allocations: 0 / 0.5864 GB, free: 0.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001642/0.8675, allocations: 72.88 kB / 0.5864 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.8675, allocations: 4.281 kB / 0.5864 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8675, allocations: 0.8125 kB / 0.5865 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8676, allocations: 4.844 kB / 0.5865 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.8677, allocations: 11.55 kB / 0.5865 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.8677, allocations: 0.9375 kB / 0.5865 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.8677, allocations: 8.656 kB / 0.5865 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.8678, allocations: 6.203 kB / 0.5865 GB, free: 0.8516 MB / 430.1 MB 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 0.0001038/0.8679, allocations: 113.8 kB / 0.5866 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.8679, allocations: 2.812 kB / 0.5866 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.8682, allocations: 77.05 kB / 0.5867 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.8682, allocations: 1.719 kB / 0.5867 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8682, allocations: 0 / 0.5867 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.8682, allocations: 0.6562 kB / 0.5867 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.8687, allocations: 316.2 kB / 0.587 GB, free: 360 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8687, allocations: 4.641 kB / 0.587 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.8688, allocations: 12.08 kB / 0.587 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.8688, allocations: 0.7812 kB / 0.587 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.8689, allocations: 1.594 kB / 0.587 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.8689, allocations: 1.188 kB / 0.587 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.8689, allocations: 0.8125 kB / 0.587 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.8692, allocations: 196.7 kB / 0.5872 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.8693, allocations: 90.05 kB / 0.5873 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.8693, allocations: 2.156 kB / 0.5873 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.8695, allocations: 1.266 kB / 0.5873 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.8695, allocations: 3.766 kB / 0.5873 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.8696, allocations: 7.297 kB / 0.5873 GB, free: 60 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.8697, allocations: 83.14 kB / 0.5874 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8697, allocations: 4.062 kB / 0.5874 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.8702, allocations: 19.23 kB / 0.5874 GB, free: 15.97 MB / 446.1 MB 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.001013/0.8712, allocations: 0.815 MB / 0.5882 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.8715, allocations: 39.17 kB / 0.5882 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.8715, allocations: 0 / 0.5882 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.8716, allocations: 18.02 kB / 0.5882 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.8718, allocations: 10.08 kB / 0.5882 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.8733, allocations: 489 kB / 0.5887 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.8738, allocations: 0.6823 MB / 0.5894 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.535e-05/0.8739, allocations: 9.062 kB / 0.5894 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.874, allocations: 11.44 kB / 0.5894 GB, free: 14.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.874, allocations: 0 / 0.5894 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.8946, allocations: 1.35 MB / 0.5907 GB, free: 13.92 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/0.895, allocations: 213 kB / 0.5909 GB, free: 13.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.541, allocations: 0 / 0.5909 GB, free: 13.68 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: