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.001185/0.001185, allocations: 104.6 kB / 16.41 MB, free: 6.5 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.001114/0.001114, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8157/0.8157, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 66.7 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1564, allocations: 80.93 MB / 0.6653 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.0025/0.159, allocations: 1.277 MB / 0.6665 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.16, allocations: 0.6075 MB / 0.6671 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.1601, allocations: 4 kB / 0.6671 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.1601, allocations: 0 / 0.6671 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.1602, allocations: 11.86 kB / 0.6672 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1609, allocations: 143.4 kB / 0.6673 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.1609, allocations: 19.92 kB / 0.6673 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.161, allocations: 0 / 0.6673 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.265e-05/0.161, allocations: 15.92 kB / 0.6673 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1611, allocations: 7.984 kB / 0.6673 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1611, allocations: 8 kB / 0.6673 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.1616, allocations: 339.3 kB / 0.6677 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.1616, allocations: 11.92 kB / 0.6677 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.1617, allocations: 4 kB / 0.6677 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.1619, allocations: 151.6 kB / 0.6678 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1619, allocations: 0 / 0.6678 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.162, allocations: 0 / 0.6678 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.162, allocations: 0 / 0.6678 GB, free: 3.301 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.0004428/0.1624, allocations: 359.4 kB / 0.6682 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1625, allocations: 9.109 kB / 0.6682 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.1625, allocations: 8.938 kB / 0.6682 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1626, allocations: 172.2 kB / 0.6683 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1627, allocations: 384 / 0.6683 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1627, allocations: 12.31 kB / 0.6684 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1628, allocations: 37.62 kB / 0.6684 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1628, allocations: 0 / 0.6684 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1628, allocations: 8 kB / 0.6684 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1629, allocations: 0 / 0.6684 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/0.1629, allocations: 4 kB / 0.6684 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.1631, allocations: 161.7 kB / 0.6686 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.1633, allocations: 46.55 kB / 0.6686 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.1633, allocations: 20.94 kB / 0.6686 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1633, allocations: 11.91 kB / 0.6686 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1634, allocations: 30.56 kB / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.1634, allocations: 0 / 0.6687 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006338/0.164, allocations: 310.2 kB / 0.669 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1641, allocations: 51.41 kB / 0.669 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.1641, allocations: 97.84 kB / 0.6691 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1642, allocations: 29.7 kB / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.1642, allocations: 80.14 kB / 0.6692 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.1642, allocations: 15.72 kB / 0.6692 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.1643, allocations: 21.7 kB / 0.6692 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1644, allocations: 318.8 kB / 0.6696 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.1644, allocations: 12 kB / 0.6696 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.1645, allocations: 19.86 kB / 0.6696 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.676e-05/0.1645, allocations: 28.86 kB / 0.6696 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1645, allocations: 0 / 0.6696 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.578e-05/0.1646, allocations: 69.83 kB / 0.6697 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1647, allocations: 8 kB / 0.6697 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1647, allocations: 4.078 kB / 0.6697 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1647, allocations: 0 / 0.6697 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.1648, allocations: 15.98 kB / 0.6697 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1648, allocations: 11.92 kB / 0.6697 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.064e-05/0.1648, allocations: 4 kB / 0.6697 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.1648, allocations: 0 / 0.6697 GB, free: 1.094 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.074e-05/0.1649, allocations: 109.8 kB / 0.6698 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1649, allocations: 11.91 kB / 0.6698 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1651, allocations: 73.58 kB / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1651, allocations: 0 / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1651, allocations: 7.938 kB / 0.6699 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1651, allocations: 4 kB / 0.6699 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.1654, allocations: 311.4 kB / 0.6702 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1654, allocations: 0 / 0.6702 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.1655, allocations: 8 kB / 0.6702 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1655, allocations: 4 kB / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1655, allocations: 3.984 kB / 0.6702 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.1655, allocations: 3.938 kB / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1656, allocations: 0 / 0.6702 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1657, allocations: 180.4 kB / 0.6704 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.1658, allocations: 89 kB / 0.6705 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1658, allocations: 4.031 kB / 0.6705 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.1659, allocations: 192 / 0.6705 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.1659, allocations: 4 kB / 0.6705 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1659, allocations: 4 kB / 0.6705 GB, free: 184 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.166, allocations: 91.2 kB / 0.6706 GB, free: 92 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.166, allocations: 4.062 kB / 0.6706 GB, free: 88 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002495/0.1663, allocations: 16 kB / 0.6706 GB, free: 72 kB / 0.4981 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.0002061/0.1665, allocations: 124.5 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.1666, allocations: 31.98 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1666, allocations: 0 / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.1666, allocations: 19.94 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1669, allocations: 12.64 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1673, allocations: 217.7 kB / 0.671 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1676, allocations: 0.6846 MB / 0.6717 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.1676, allocations: 11.44 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.833e-06/0.1676, allocations: 3.938 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.002544/0.1702, allocations: 0.7984 MB / 0.6725 GB, free: 14.11 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)