Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001667, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001671/0.001671, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7989/0.7989, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 80.91 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002582/0.1555, allocations: 1.469 MB / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1566, allocations: 0.6382 MB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.1566, allocations: 0 / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.1567, allocations: 7.938 kB / 0.6674 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.1567, allocations: 3.938 kB / 0.6674 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.1573, allocations: 159.4 kB / 0.6675 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.784e-05/0.1574, allocations: 51.64 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.1574, allocations: 11.91 kB / 0.6676 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.795e-05/0.1575, allocations: 23.92 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.1576, allocations: 31.84 kB / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1576, allocations: 4 kB / 0.6676 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.1581, allocations: 343.3 kB / 0.668 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.1581, allocations: 11.98 kB / 0.668 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.1582, allocations: 27.84 kB / 0.668 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.1584, allocations: 175.5 kB / 0.6682 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1585, allocations: 4 kB / 0.6682 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1585, allocations: 0 / 0.6682 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1585, allocations: 4 kB / 0.6682 GB, free: 2.824 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006478/0.1591, allocations: 399.3 kB / 0.6686 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1592, allocations: 9.109 kB / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.1592, allocations: 4.938 kB / 0.6686 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.1593, allocations: 168.2 kB / 0.6687 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1594, allocations: 12.36 kB / 0.6687 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1594, allocations: 8.359 kB / 0.6688 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1597, allocations: 81.59 kB / 0.6688 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1597, allocations: 4 kB / 0.6688 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1597, allocations: 4 kB / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1597, allocations: 0 / 0.6688 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.1599, allocations: 51.89 kB / 0.6689 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.1605, allocations: 320.6 kB / 0.6692 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1608, allocations: 90.47 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1609, allocations: 24.84 kB / 0.6693 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.161, allocations: 8.141 kB / 0.6693 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.161, allocations: 30.56 kB / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.161, allocations: 0 / 0.6693 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001627/0.1626, allocations: 0.6499 MB / 0.67 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1627, allocations: 63.41 kB / 0.67 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.1628, allocations: 97.84 kB / 0.6701 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1628, allocations: 29.7 kB / 0.6702 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.1628, allocations: 88.05 kB / 0.6702 GB, free: 436 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.1629, allocations: 43.39 kB / 0.6703 GB, free: 392 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.1629, allocations: 25.83 kB / 0.6703 GB, free: 360 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1631, allocations: 318.8 kB / 0.6706 GB, free: 32 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.1632, allocations: 40.02 kB / 0.6706 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.1634, allocations: 31.44 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1636, allocations: 76.77 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1636, allocations: 0 / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003013/0.1639, allocations: 117.5 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1639, allocations: 4 kB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.164, allocations: 0 / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.164, allocations: 11.94 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1641, allocations: 23.98 kB / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1641, allocations: 0 / 0.6709 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.1642, allocations: 15.94 kB / 0.6709 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1642, allocations: 7.984 kB / 0.6709 GB, free: 15.7 MB / 0.5137 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 (13): * Single equations (assignments): 13 * 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 9.22e-05/0.1643, allocations: 109.8 kB / 0.671 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1644, allocations: 4 kB / 0.671 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000358/0.1647, allocations: 129.5 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.1647, allocations: 3.938 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1648, allocations: 192 / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1648, allocations: 3.984 kB / 0.6712 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.1653, allocations: 382.5 kB / 0.6715 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1653, allocations: 7.875 kB / 0.6715 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1655, allocations: 28.08 kB / 0.6716 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1655, allocations: 7.938 kB / 0.6716 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1655, allocations: 7.984 kB / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.1655, allocations: 0 / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1655, allocations: 3.938 kB / 0.6716 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.166, allocations: 251.7 kB / 0.6718 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.1661, allocations: 84.95 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1661, allocations: 4.094 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1662, allocations: 15.98 kB / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.1663, allocations: 4 kB / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1663, allocations: 0 / 0.6719 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.1663, allocations: 83.27 kB / 0.672 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.142e-05/0.1663, allocations: 0 / 0.672 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002743/0.1666, allocations: 39.94 kB / 0.672 GB, free: 14.45 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001933/0.1668, allocations: 136.4 kB / 0.6722 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.1672, allocations: 87.95 kB / 0.6723 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1672, allocations: 0 / 0.6723 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1673, allocations: 47.91 kB / 0.6723 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1676, allocations: 11.94 kB / 0.6723 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.1683, allocations: 347.4 kB / 0.6726 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1685, allocations: 0.6885 MB / 0.6733 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.1686, allocations: 15.44 kB / 0.6733 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1686, allocations: 0 / 0.6733 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.002957/0.1715, allocations: 1.321 MB / 0.6746 GB, free: 11.75 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)