Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001597/0.001598, allocations: 106.9 kB / 16.41 MB, free: 6.488 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.001786/0.001786, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8165/0.8165, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.97 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1527, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00259/0.1553, allocations: 1.282 MB / 0.6616 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1564, allocations: 0.6114 MB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.196e-05/0.1565, allocations: 0 / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.1565, allocations: 3.938 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.1566, allocations: 3.984 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006832/0.1573, allocations: 147.3 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.1573, allocations: 23.94 kB / 0.6623 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.1574, allocations: 3.984 kB / 0.6623 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.1575, allocations: 7.938 kB / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.1575, allocations: 11.98 kB / 0.6624 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1575, allocations: 4 kB / 0.6624 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.1581, allocations: 339.3 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.1581, allocations: 3.938 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1581, allocations: 15.97 kB / 0.6627 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.1584, allocations: 147.6 kB / 0.6629 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1584, allocations: 0 / 0.6629 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1585, allocations: 4 kB / 0.6629 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.1585, allocations: 0 / 0.6629 GB, free: 7.664 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.0004816/0.159, allocations: 359.4 kB / 0.6632 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.159, allocations: 8.031 kB / 0.6632 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.159, allocations: 8.844 kB / 0.6632 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.1592, allocations: 160.4 kB / 0.6634 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1592, allocations: 4.312 kB / 0.6634 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1592, allocations: 8.312 kB / 0.6634 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1594, allocations: 41.62 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1594, allocations: 4 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1594, allocations: 7.984 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1594, allocations: 0 / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.609e-05/0.1595, allocations: 15.92 kB / 0.6634 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1597, allocations: 157.7 kB / 0.6636 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.1599, allocations: 42.56 kB / 0.6636 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.1599, allocations: 16.86 kB / 0.6637 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.1599, allocations: 7.938 kB / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.16, allocations: 30.56 kB / 0.6637 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.16, allocations: 0 / 0.6637 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007059/0.1607, allocations: 314.2 kB / 0.664 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.1607, allocations: 51.41 kB / 0.664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.1608, allocations: 97.86 kB / 0.6641 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1608, allocations: 29.7 kB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.1609, allocations: 80.14 kB / 0.6642 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1609, allocations: 23.7 kB / 0.6643 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.1609, allocations: 17.72 kB / 0.6643 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1611, allocations: 314.8 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.1611, allocations: 12 kB / 0.6646 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.1611, allocations: 12.06 kB / 0.6646 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.246e-05/0.1612, allocations: 40.98 kB / 0.6646 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1612, allocations: 4 kB / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001007/0.1613, allocations: 69.48 kB / 0.6647 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1613, allocations: 11.98 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1613, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1614, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.12e-05/0.1614, allocations: 8 kB / 0.6647 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1614, allocations: 0 / 0.6647 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.1615, allocations: 4 kB / 0.6647 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1615, allocations: 0 / 0.6647 GB, free: 5.473 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.67e-05/0.1616, allocations: 118.7 kB / 0.6648 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.1616, allocations: 4 kB / 0.6648 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.1617, allocations: 77.52 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1617, allocations: 7.938 kB / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1617, allocations: 0 / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1618, allocations: 0 / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.1621, allocations: 319.3 kB / 0.6652 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1621, allocations: 0 / 0.6652 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.1622, allocations: 19.92 kB / 0.6653 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.1622, allocations: 4.547 kB / 0.6653 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.1622, allocations: 0 / 0.6653 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1622, allocations: 0 / 0.6653 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1622, allocations: 4 kB / 0.6653 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.1624, allocations: 180.2 kB / 0.6654 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1625, allocations: 77.3 kB / 0.6655 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1625, allocations: 11.97 kB / 0.6655 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.596e-05/0.1626, allocations: 12.05 kB / 0.6655 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.1626, allocations: 7.984 kB / 0.6655 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1626, allocations: 0 / 0.6655 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.625e-05/0.1627, allocations: 83.22 kB / 0.6656 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1627, allocations: 0 / 0.6656 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002559/0.1629, allocations: 24 kB / 0.6656 GB, free: 4.418 MB / 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.0001954/0.1632, allocations: 119.2 kB / 0.6658 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.1633, allocations: 31.94 kB / 0.6658 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1633, allocations: 4 kB / 0.6658 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.1633, allocations: 19.98 kB / 0.6658 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1636, allocations: 0 / 0.6658 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/0.164, allocations: 225.6 kB / 0.666 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.1643, allocations: 0.6808 MB / 0.6667 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1643, allocations: 15.44 kB / 0.6667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.1643, allocations: 0 / 0.6667 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of Templates: time 0.002453/0.1668, allocations: 0.7947 MB / 0.6675 GB, free: 2.473 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)