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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008403/0.00084, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0008382/0.0008383, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9354/0.9354, allocations: 135.3 MB / 426.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003255, allocations: 13.73 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1616, allocations: 82.3 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001265/0.1629, allocations: 0.9867 MB / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008908/0.1639, allocations: 0.5627 MB / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.1639, allocations: 0 / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1639, allocations: 0 / 0.589 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.164, allocations: 7.984 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.1644, allocations: 119.5 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.1645, allocations: 19.92 kB / 0.5891 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1645, allocations: 8 kB / 0.5891 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.1646, allocations: 4 kB / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.1646, allocations: 15.92 kB / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1646, allocations: 0 / 0.5891 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.1651, allocations: 335.3 kB / 0.5895 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.1651, allocations: 0 / 0.5895 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.1652, allocations: 29.7 kB / 0.5895 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1653, allocations: 100 kB / 0.5896 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1653, allocations: 4 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1653, allocations: 0 / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1654, allocations: 0 / 0.5896 GB, free: 0.6953 MB / 494.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.0003659/0.1657, allocations: 359.2 kB / 0.5899 GB, free: 304 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.1658, allocations: 8.031 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.1658, allocations: 42.55 kB / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.1658, allocations: 0 / 0.59 GB, free: 244 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.166, allocations: 167 kB / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.166, allocations: 4 kB / 0.5901 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.166, allocations: 0 / 0.5901 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1661, allocations: 45.62 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1662, allocations: 4 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.1662, allocations: 0 / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1662, allocations: 0 / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.1662, allocations: 12 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.1664, allocations: 157.6 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1666, allocations: 46.55 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.1666, allocations: 20.94 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1666, allocations: 4 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.1666, allocations: 34.5 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1667, allocations: 0 / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005671/0.1672, allocations: 310.1 kB / 0.5908 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1673, allocations: 51.41 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.1673, allocations: 98.17 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.1673, allocations: 25.7 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.1674, allocations: 88.14 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1674, allocations: 15.8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1674, allocations: 4 kB / 0.591 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1675, allocations: 318.8 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.1676, allocations: 15.94 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.1676, allocations: 8 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.1676, allocations: 19.92 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1676, allocations: 0 / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.537e-05/0.1677, allocations: 61.61 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1678, allocations: 8 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1678, allocations: 0 / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.1678, allocations: 3.984 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.75e-05/0.1678, allocations: 12 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1679, allocations: 240 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.1679, allocations: 4.188 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1679, allocations: 7.984 kB / 0.5915 GB, free: 14.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.168, allocations: 109.8 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.168, allocations: 11.92 kB / 0.5916 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.1681, allocations: 77.64 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1681, allocations: 128 / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1681, allocations: 4 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1681, allocations: 0 / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.1685, allocations: 315.4 kB / 0.592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1685, allocations: 4 kB / 0.592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1685, allocations: 11.98 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1685, allocations: 0 / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1686, allocations: 8.031 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1686, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1686, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1688, allocations: 184.2 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1688, allocations: 81.14 kB / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1688, allocations: 4 kB / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.1689, allocations: 0 / 0.5922 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.1689, allocations: 12.05 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.169, allocations: 4 kB / 0.5923 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.169, allocations: 75.28 kB / 0.5923 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.169, allocations: 3.938 kB / 0.5923 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.1692, allocations: 27.94 kB / 0.5924 GB, free: 13.48 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 (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.0004672/0.1697, allocations: 0.7365 MB / 0.5931 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.941e-05/0.1698, allocations: 31.98 kB / 0.5931 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1698, allocations: 0 / 0.5931 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.1699, allocations: 19.94 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1701, allocations: 4 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.1708, allocations: 0.4915 MB / 0.5936 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.171, allocations: 0.6849 MB / 0.5943 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.1711, allocations: 4 kB / 0.5943 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1711, allocations: 7.438 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1711, allocations: 4 kB / 0.5943 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01039/0.1815, allocations: 1.367 MB / 0.5956 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.1817, allocations: 228.8 kB / 0.5958 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/1.839, allocations: 64 / 0.5958 GB, free: 9.98 MB / 0.4981 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) Environment - environmentSimulation: