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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005497/0.005497, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001184/0.001184, allocations: 203.7 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9245/0.9245, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 59.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4223, allocations: 80.92 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001977/0.4243, allocations: 1.27 MB / 0.6659 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.4252, allocations: 0.6068 MB / 0.6665 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.4252, allocations: 0 / 0.6665 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.746e-05/0.4252, allocations: 3.938 kB / 0.6665 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.4253, allocations: 5.234 kB / 0.6665 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005056/0.4258, allocations: 146.7 kB / 0.6666 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.165e-05/0.4259, allocations: 17.3 kB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.4259, allocations: 6.875 kB / 0.6666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.426, allocations: 18.83 kB / 0.6667 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.426, allocations: 8.359 kB / 0.6667 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.426, allocations: 3.938 kB / 0.6667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.4265, allocations: 342.1 kB / 0.667 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.4265, allocations: 8.938 kB / 0.667 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.4266, allocations: 4.25 kB / 0.667 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.4268, allocations: 145.7 kB / 0.6672 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4268, allocations: 3.984 kB / 0.6672 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4268, allocations: 0 / 0.6672 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.4268, allocations: 5.5 kB / 0.6672 GB, free: 5.668 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.00033/0.4272, allocations: 361.9 kB / 0.6675 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4272, allocations: 9 kB / 0.6675 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.4273, allocations: 3.562 kB / 0.6675 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.4273, allocations: 169.7 kB / 0.6677 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4274, allocations: 384 / 0.6677 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.4274, allocations: 7.156 kB / 0.6677 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4275, allocations: 39.62 kB / 0.6677 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4275, allocations: 0 / 0.6677 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4275, allocations: 9.188 kB / 0.6677 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4275, allocations: 0 / 0.6677 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.977e-05/0.4276, allocations: 6.656 kB / 0.6677 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.4277, allocations: 159.3 kB / 0.6679 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.4279, allocations: 47.08 kB / 0.6679 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.4279, allocations: 20.09 kB / 0.668 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.428, allocations: 5.281 kB / 0.668 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.428, allocations: 35.5 kB / 0.668 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.428, allocations: 0 / 0.668 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005562/0.4285, allocations: 316.9 kB / 0.6683 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.4286, allocations: 51.41 kB / 0.6683 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.585e-05/0.4286, allocations: 102.2 kB / 0.6684 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.4286, allocations: 29.7 kB / 0.6685 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.683e-05/0.4287, allocations: 85.36 kB / 0.6686 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.4287, allocations: 22.52 kB / 0.6686 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.4287, allocations: 22.58 kB / 0.6686 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.4288, allocations: 312.4 kB / 0.6689 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.517e-05/0.4288, allocations: 9.5 kB / 0.6689 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.4288, allocations: 18.92 kB / 0.6689 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.296e-05/0.4289, allocations: 28.8 kB / 0.6689 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4289, allocations: 0 / 0.6689 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.187e-05/0.429, allocations: 73.27 kB / 0.669 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.429, allocations: 8.062 kB / 0.669 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.429, allocations: 0.9688 kB / 0.669 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.429, allocations: 5.094 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.4291, allocations: 8.781 kB / 0.669 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4291, allocations: 8.891 kB / 0.669 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.4291, allocations: 0 / 0.669 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4291, allocations: 6.062 kB / 0.6691 GB, free: 3.672 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 4.591e-05/0.4292, allocations: 118 kB / 0.6692 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.4292, allocations: 5.547 kB / 0.6692 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4293, allocations: 70.75 kB / 0.6692 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4293, allocations: 1.094 kB / 0.6692 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4294, allocations: 3.984 kB / 0.6692 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4294, allocations: 0 / 0.6692 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.4296, allocations: 312.7 kB / 0.6695 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4296, allocations: 0 / 0.6695 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.4297, allocations: 10.62 kB / 0.6696 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4297, allocations: 1.375 kB / 0.6696 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4297, allocations: 8.031 kB / 0.6696 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4297, allocations: 5.125 kB / 0.6696 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4297, allocations: 5.359 kB / 0.6696 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.4299, allocations: 174.1 kB / 0.6697 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.4299, allocations: 91.14 kB / 0.6698 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.4299, allocations: 1.062 kB / 0.6698 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.43, allocations: 1.406 kB / 0.6698 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.459e-05/0.43, allocations: 6.5 kB / 0.6698 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.43, allocations: 2.562 kB / 0.6698 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.093e-05/0.43, allocations: 88.95 kB / 0.6699 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4301, allocations: 1.219 kB / 0.6699 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002449/0.4303, allocations: 18.34 kB / 0.6699 GB, free: 2.777 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.0001463/0.4305, allocations: 125 kB / 0.6701 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.4306, allocations: 33.19 kB / 0.6701 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4306, allocations: 4 kB / 0.6701 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.4306, allocations: 18.56 kB / 0.6701 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4308, allocations: 10.47 kB / 0.6701 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.4312, allocations: 193.6 kB / 0.6703 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.4313, allocations: 0.6826 MB / 0.671 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.4313, allocations: 12.3 kB / 0.671 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.4313, allocations: 9.719 kB / 0.671 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4313, allocations: 5.062 kB / 0.671 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of Templates: time 0.002645/0.434, allocations: 0.6355 MB / 0.6716 GB, free: 1.414 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)