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.001088/0.001088, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001454/0.001454, allocations: 192 kB / 16.25 MB, free: 6.637 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9697/0.9697, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.2 kB / 0.5049 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00316/0.1402, allocations: 1.326 MB / 0.5852 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1414, allocations: 0.6205 MB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.1414, allocations: 0 / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.1414, allocations: 0 / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.1415, allocations: 3.938 kB / 0.5858 GB, free: 2.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.1421, allocations: 131.6 kB / 0.5859 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.1421, allocations: 23.91 kB / 0.586 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.1422, allocations: 4 kB / 0.586 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.1422, allocations: 8 kB / 0.586 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.1423, allocations: 7.922 kB / 0.586 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1423, allocations: 4 kB / 0.586 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004404/0.1427, allocations: 343.3 kB / 0.5863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.1428, allocations: 4 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.1428, allocations: 11.94 kB / 0.5863 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1431, allocations: 147.9 kB / 0.5865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1431, allocations: 3.984 kB / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1431, allocations: 0 / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1431, allocations: 0 / 0.5865 GB, free: 2.25 MB / 494.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.0004705/0.1436, allocations: 359.4 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1437, allocations: 12.03 kB / 0.5868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1437, allocations: 0.9375 kB / 0.5868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1439, allocations: 164.4 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1439, allocations: 8.375 kB / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1439, allocations: 4.375 kB / 0.587 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.1441, allocations: 53.73 kB / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1441, allocations: 0 / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1442, allocations: 0 / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1442, allocations: 0 / 0.587 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/0.1442, allocations: 8 kB / 0.587 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.1444, allocations: 157.7 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1447, allocations: 46.61 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.1447, allocations: 20.94 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1448, allocations: 3.938 kB / 0.5873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1448, allocations: 34.5 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.1448, allocations: 7.938 kB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006069/0.1454, allocations: 302.1 kB / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.1455, allocations: 55.41 kB / 0.5876 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.1455, allocations: 101.8 kB / 0.5877 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1456, allocations: 25.7 kB / 0.5878 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.594e-05/0.1456, allocations: 80.14 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1456, allocations: 19.75 kB / 0.5879 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.1457, allocations: 25.61 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1458, allocations: 318.8 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.293e-05/0.1458, allocations: 4 kB / 0.5882 GB, free: 220 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.1458, allocations: 15.98 kB / 0.5882 GB, free: 204 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.333e-05/0.1459, allocations: 40.8 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1459, allocations: 0 / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.132e-05/0.146, allocations: 69.61 kB / 0.5883 GB, free: 84 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.146, allocations: 4 kB / 0.5883 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.146, allocations: 0 / 0.5883 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.1461, allocations: 0 / 0.5883 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.867e-05/0.1461, allocations: 8 kB / 0.5883 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1461, allocations: 7.984 kB / 0.5883 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1461, allocations: 4 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.1462, allocations: 0 / 0.5883 GB, free: 60 kB / 494.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 9.219e-05/0.1463, allocations: 117.8 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.1463, allocations: 3.938 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.1464, allocations: 73.88 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1464, allocations: 4.516 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1464, allocations: 8.109 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1465, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1468, allocations: 311.4 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1468, allocations: 4.031 kB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.1469, allocations: 12 kB / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1469, allocations: 0 / 0.5888 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1469, allocations: 3.984 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1469, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1469, allocations: 7.984 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.1472, allocations: 180.2 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1472, allocations: 89.19 kB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.1473, allocations: 7.938 kB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.1473, allocations: 0 / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.1474, allocations: 4 kB / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.1474, allocations: 0 / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.1474, allocations: 83.27 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1474, allocations: 0 / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002631/0.1477, allocations: 31.88 kB / 0.5892 GB, free: 15.02 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.000228/0.1479, allocations: 125.6 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001354/0.1481, allocations: 35.92 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1481, allocations: 0 / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.1481, allocations: 19.94 kB / 0.5894 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1484, allocations: 7.938 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.1489, allocations: 216.5 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1493, allocations: 0.6807 MB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.1494, allocations: 11.98 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1494, allocations: 11.44 kB / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1494, allocations: 0 / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.003709/0.1531, allocations: 0.6427 MB / 0.5909 GB, free: 13.26 MB / 0.4981 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)