Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009369/0.009369, allocations: 100.3 kB / 15.73 MB, free: 6.004 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.001711/0.001711, allocations: 194.5 kB / 16.67 MB, free: 5.926 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7868/0.7868, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.41 kB / 0.5856 GB, free: 21.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1607, allocations: 80.94 MB / 0.6646 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002461/0.1632, allocations: 1.264 MB / 0.6659 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1643, allocations: 0.6152 MB / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.1643, allocations: 0 / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.1643, allocations: 0 / 0.6665 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.59e-05/0.1644, allocations: 7.938 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.1649, allocations: 147.4 kB / 0.6666 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.165, allocations: 19.92 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1651, allocations: 0 / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.1651, allocations: 15.88 kB / 0.6667 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.1652, allocations: 7.984 kB / 0.6667 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1652, allocations: 7.984 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004666/0.1657, allocations: 339.3 kB / 0.667 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.249e-05/0.1657, allocations: 4 kB / 0.667 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.1657, allocations: 15.92 kB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1661, allocations: 151.6 kB / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1661, allocations: 0 / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1661, allocations: 0 / 0.6672 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1661, allocations: 0 / 0.6672 GB, free: 3.184 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.0004221/0.1665, allocations: 359.4 kB / 0.6675 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1666, allocations: 9.109 kB / 0.6675 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.1666, allocations: 4.938 kB / 0.6675 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1667, allocations: 176.2 kB / 0.6677 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.1667, allocations: 384 / 0.6677 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.1668, allocations: 8.375 kB / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1669, allocations: 37.62 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1669, allocations: 3.938 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1669, allocations: 4 kB / 0.6677 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1669, allocations: 4 kB / 0.6677 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.167, allocations: 7.984 kB / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.1672, allocations: 157.7 kB / 0.6679 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1674, allocations: 50.55 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.402e-05/0.1674, allocations: 20.94 kB / 0.668 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1674, allocations: 3.938 kB / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1675, allocations: 30.56 kB / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1675, allocations: 0 / 0.668 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000625/0.1681, allocations: 314.2 kB / 0.6683 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1682, allocations: 55.41 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.1682, allocations: 97.84 kB / 0.6685 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1682, allocations: 25.7 kB / 0.6685 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.1683, allocations: 84.14 kB / 0.6686 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1683, allocations: 15.72 kB / 0.6686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1684, allocations: 21.7 kB / 0.6686 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1685, allocations: 314.8 kB / 0.6689 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.1685, allocations: 16 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.1685, allocations: 19.91 kB / 0.6689 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.1686, allocations: 28.86 kB / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1686, allocations: 0 / 0.669 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001006/0.1687, allocations: 65.62 kB / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1688, allocations: 11.94 kB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1688, allocations: 0 / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1688, allocations: 0 / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.154e-05/0.1688, allocations: 8 kB / 0.669 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1689, allocations: 7.922 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.1689, allocations: 12 kB / 0.6691 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1689, allocations: 0 / 0.6691 GB, free: 0.9805 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 7.944e-05/0.169, allocations: 109.8 kB / 0.6692 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.169, allocations: 7.906 kB / 0.6692 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1691, allocations: 73.59 kB / 0.6692 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1692, allocations: 0 / 0.6692 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1692, allocations: 7.984 kB / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1692, allocations: 0 / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.1695, allocations: 323.3 kB / 0.6696 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1696, allocations: 0 / 0.6696 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.1696, allocations: 8.188 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1696, allocations: 8 kB / 0.6696 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.1697, allocations: 0 / 0.6696 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1697, allocations: 7.922 kB / 0.6696 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1697, allocations: 0 / 0.6696 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1698, allocations: 180.9 kB / 0.6697 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.1699, allocations: 89 kB / 0.6698 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1699, allocations: 4.031 kB / 0.6698 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.17, allocations: 0 / 0.6698 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.703e-05/0.17, allocations: 4 kB / 0.6698 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.17, allocations: 0 / 0.6698 GB, free: 64 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.317e-05/0.1701, allocations: 95.19 kB / 0.6699 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1701, allocations: 0 / 0.6699 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002536/0.1704, allocations: 20 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001727/0.1706, allocations: 124.6 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1707, allocations: 31.98 kB / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1707, allocations: 0 / 0.6701 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.1707, allocations: 19.94 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.1709, allocations: 4 kB / 0.6701 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.1714, allocations: 196.2 kB / 0.6703 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1717, allocations: 0.6807 MB / 0.671 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.095e-05/0.1718, allocations: 12.38 kB / 0.671 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.418e-05/0.1718, allocations: 11.44 kB / 0.671 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1718, allocations: 3.938 kB / 0.671 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.003184/0.175, allocations: 0.6623 MB / 0.6716 GB, free: 14.18 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)