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.001396/0.001396, allocations: 109.2 kB / 15.99 MB, free: 6.367 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.001361/0.001361, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.286/1.286, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7456/0.7456, allocations: 132.2 MB / 422.9 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.09 kB / 0.5019 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3573, allocations: 80.19 MB / 0.5802 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002218/0.3596, allocations: 1.346 MB / 0.5815 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.3604, allocations: 0.6054 MB / 0.5821 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.3604, allocations: 0 / 0.5821 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.3605, allocations: 5.219 kB / 0.5821 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.3605, allocations: 5.375 kB / 0.5821 GB, free: 25.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.361, allocations: 129.4 kB / 0.5823 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.3611, allocations: 21.2 kB / 0.5823 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.3611, allocations: 3.25 kB / 0.5823 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.3611, allocations: 4.25 kB / 0.5823 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.464e-05/0.3612, allocations: 15.92 kB / 0.5823 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3612, allocations: 0.9688 kB / 0.5823 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.3616, allocations: 347.1 kB / 0.5826 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.3616, allocations: 0.5938 kB / 0.5826 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.3617, allocations: 7.969 kB / 0.5826 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3618, allocations: 101.9 kB / 0.5827 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3618, allocations: 0.9375 kB / 0.5827 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3618, allocations: 0 / 0.5827 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3619, allocations: 0 / 0.5827 GB, free: 24.98 MB / 446.1 MB 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.0003482/0.3622, allocations: 357.3 kB / 0.5831 GB, free: 24.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3623, allocations: 9.75 kB / 0.5831 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.3623, allocations: 2.562 kB / 0.5831 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.041e-05/0.3624, allocations: 172.8 kB / 0.5833 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3624, allocations: 5.469 kB / 0.5833 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3624, allocations: 13.75 kB / 0.5833 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/0.3625, allocations: 45.66 kB / 0.5833 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3626, allocations: 0 / 0.5833 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3626, allocations: 4 kB / 0.5833 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3626, allocations: 0 / 0.5833 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.3626, allocations: 6.219 kB / 0.5833 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.3628, allocations: 155.7 kB / 0.5835 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.3629, allocations: 49.05 kB / 0.5835 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.363, allocations: 25.61 kB / 0.5835 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.363, allocations: 1.562 kB / 0.5836 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.363, allocations: 39 kB / 0.5836 GB, free: 24.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.363, allocations: 0.7812 kB / 0.5836 GB, free: 24.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005613/0.3636, allocations: 308.7 kB / 0.5839 GB, free: 23.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.3636, allocations: 53.22 kB / 0.5839 GB, free: 23.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278e-05/0.3637, allocations: 97.19 kB / 0.584 GB, free: 23.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3637, allocations: 31.58 kB / 0.5841 GB, free: 23.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.3637, allocations: 82.98 kB / 0.5841 GB, free: 23.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.3638, allocations: 17.09 kB / 0.5842 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.3638, allocations: 23.86 kB / 0.5842 GB, free: 23.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.3638, allocations: 318.5 kB / 0.5845 GB, free: 23.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.3639, allocations: 13.64 kB / 0.5845 GB, free: 23.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.3639, allocations: 6.75 kB / 0.5845 GB, free: 23.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.364, allocations: 41.06 kB / 0.5845 GB, free: 23.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.364, allocations: 0 / 0.5845 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.224e-05/0.364, allocations: 64.53 kB / 0.5846 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3641, allocations: 5.594 kB / 0.5846 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3641, allocations: 2.469 kB / 0.5846 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3641, allocations: 1.469 kB / 0.5846 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.949e-05/0.3642, allocations: 13.42 kB / 0.5846 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3642, allocations: 0 / 0.5846 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.3642, allocations: 5.469 kB / 0.5846 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.3642, allocations: 1.406 kB / 0.5846 GB, free: 23.01 MB / 446.1 MB 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 4.801e-05/0.3643, allocations: 113.8 kB / 0.5847 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.3643, allocations: 12.97 kB / 0.5847 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.3644, allocations: 79.78 kB / 0.5848 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3644, allocations: 4.562 kB / 0.5848 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3644, allocations: 2 kB / 0.5848 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3644, allocations: 0 / 0.5848 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.3647, allocations: 314.3 kB / 0.5851 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3647, allocations: 1.125 kB / 0.5851 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.3647, allocations: 13.47 kB / 0.5851 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3647, allocations: 1.344 kB / 0.5851 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3648, allocations: 7.484 kB / 0.5852 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3648, allocations: 0 / 0.5852 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3648, allocations: 1.312 kB / 0.5852 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.3649, allocations: 178.3 kB / 0.5853 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.365, allocations: 87.97 kB / 0.5854 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.365, allocations: 2.75 kB / 0.5854 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.016e-05/0.3651, allocations: 1.469 kB / 0.5854 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.3651, allocations: 1.375 kB / 0.5854 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3651, allocations: 7.359 kB / 0.5854 GB, free: 22.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.948e-05/0.3651, allocations: 84.11 kB / 0.5855 GB, free: 22.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3651, allocations: 0 / 0.5855 GB, free: 22.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3654, allocations: 23.12 kB / 0.5855 GB, free: 22.11 MB / 446.1 MB 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.0001513/0.3655, allocations: 122.3 kB / 0.5856 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.3656, allocations: 36.89 kB / 0.5857 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3656, allocations: 0 / 0.5857 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.605e-05/0.3657, allocations: 23.08 kB / 0.5857 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3659, allocations: 6.312 kB / 0.5857 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.3663, allocations: 234.4 kB / 0.5859 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3664, allocations: 0.6803 MB / 0.5866 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.3664, allocations: 15.39 kB / 0.5866 GB, free: 21.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3664, allocations: 1.531 kB / 0.5866 GB, free: 21.07 MB / 446.1 MB Notification: Performance of Templates: time 0.00204/0.3685, allocations: 0.7937 MB / 0.5874 GB, free: 20.71 MB / 446.1 MB 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)