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.001522/0.001522, allocations: 102.2 kB / 16.4 MB, free: 5.949 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.001275/0.001275, allocations: 193 kB / 17.34 MB, free: 5.578 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8584/0.8584, allocations: 135.2 MB / 426.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.44 kB / 0.5863 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1663, allocations: 80.93 MB / 0.6654 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002404/0.1687, allocations: 1.268 MB / 0.6666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1698, allocations: 0.6191 MB / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.1698, allocations: 0 / 0.6672 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.1698, allocations: 3.938 kB / 0.6672 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.814e-05/0.1699, allocations: 3.984 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.1704, allocations: 155.4 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.1705, allocations: 19.86 kB / 0.6674 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.1705, allocations: 4 kB / 0.6674 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1706, allocations: 11.94 kB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1706, allocations: 4 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1706, allocations: 0 / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005037/0.1711, allocations: 347.3 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.1711, allocations: 3.984 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.602e-05/0.1712, allocations: 11.94 kB / 0.6677 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1714, allocations: 147.6 kB / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1714, allocations: 0 / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1714, allocations: 0 / 0.6679 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.1714, allocations: 4 kB / 0.6679 GB, free: 3.125 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.0004959/0.1719, allocations: 363 kB / 0.6682 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.172, allocations: 13.11 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.172, allocations: 0.9375 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1722, allocations: 168.3 kB / 0.6684 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.1722, allocations: 384 / 0.6684 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1722, allocations: 384 / 0.6684 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.1723, allocations: 53.56 kB / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1723, allocations: 0 / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1723, allocations: 0 / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1723, allocations: 0 / 0.6685 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.1724, allocations: 15.98 kB / 0.6685 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.1726, allocations: 153.7 kB / 0.6686 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1728, allocations: 46.5 kB / 0.6687 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.1728, allocations: 20.86 kB / 0.6687 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1728, allocations: 3.938 kB / 0.6687 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1729, allocations: 34.64 kB / 0.6687 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.1729, allocations: 3.938 kB / 0.6687 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006651/0.1735, allocations: 302.3 kB / 0.669 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1736, allocations: 55.41 kB / 0.6691 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1736, allocations: 102.3 kB / 0.6692 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1737, allocations: 25.7 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1737, allocations: 88.11 kB / 0.6693 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1737, allocations: 23.8 kB / 0.6693 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.1738, allocations: 17.72 kB / 0.6693 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1739, allocations: 322.8 kB / 0.6696 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.1739, allocations: 4 kB / 0.6696 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.329e-05/0.174, allocations: 12 kB / 0.6696 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.174, allocations: 45.06 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.174, allocations: 0 / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001167/0.1742, allocations: 65.61 kB / 0.6697 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1742, allocations: 8 kB / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1742, allocations: 48 / 0.6697 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1742, allocations: 3.984 kB / 0.6698 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/0.1742, allocations: 11.94 kB / 0.6698 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1743, allocations: 4 kB / 0.6698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.093e-05/0.1743, allocations: 4 kB / 0.6698 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1743, allocations: 0 / 0.6698 GB, free: 0.9258 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 8.489e-05/0.1744, allocations: 117.8 kB / 0.6699 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.1744, allocations: 7.938 kB / 0.6699 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.1745, allocations: 73.59 kB / 0.67 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1745, allocations: 4 kB / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1745, allocations: 0 / 0.67 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1745, allocations: 3.938 kB / 0.67 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1749, allocations: 315.4 kB / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1749, allocations: 0 / 0.6703 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.175, allocations: 19.97 kB / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.175, allocations: 0 / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.175, allocations: 0 / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.175, allocations: 0 / 0.6703 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.175, allocations: 4 kB / 0.6703 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.1752, allocations: 176.3 kB / 0.6705 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.1752, allocations: 85.09 kB / 0.6705 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1752, allocations: 8.25 kB / 0.6705 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.1753, allocations: 7.984 kB / 0.6706 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.1753, allocations: 7.938 kB / 0.6706 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1753, allocations: 0 / 0.6706 GB, free: 0 / 0.4981 GB Notification: Performance of sorting global known variables: time 4.158e-05/0.1754, allocations: 87.2 kB / 0.6706 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1754, allocations: 0 / 0.6706 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000252/0.1756, allocations: 27.88 kB / 0.6707 GB, free: 15.89 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.0001904/0.1758, allocations: 123.1 kB / 0.6708 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.1759, allocations: 35.98 kB / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.176, allocations: 0 / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.176, allocations: 19.94 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1762, allocations: 3.625 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004707/0.1767, allocations: 229.6 kB / 0.6711 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.177, allocations: 0.6807 MB / 0.6717 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.177, allocations: 11.44 kB / 0.6717 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.177, allocations: 0 / 0.6717 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.002582/0.1796, allocations: 0.8057 MB / 0.6725 GB, free: 13.92 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)