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.0009002/0.0009002, allocations: 99 kB / 15.05 MB, free: 1.105 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.001109/0.00111, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8241/0.8241, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 16 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1445, allocations: 82.3 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001356/0.1459, allocations: 1.167 MB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.1465, allocations: 339.2 kB / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.1465, allocations: 0 / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.1465, allocations: 3.984 kB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.527e-05/0.1466, allocations: 4 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.1469, allocations: 75.7 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.147, allocations: 39.89 kB / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.147, allocations: 0 / 0.5888 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1471, allocations: 23.92 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.378e-05/0.1471, allocations: 27.91 kB / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1471, allocations: 0 / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002388/0.1474, allocations: 187.6 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.1474, allocations: 11.98 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.1474, allocations: 33.7 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.1476, allocations: 72.12 kB / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.1476, allocations: 0 / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1476, allocations: 0 / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1476, allocations: 3.938 kB / 0.5891 GB, free: 1.148 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004611/0.1481, allocations: 375.2 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1481, allocations: 8.031 kB / 0.5895 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1481, allocations: 7.906 kB / 0.5895 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1482, allocations: 171 kB / 0.5897 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.1483, allocations: 8 kB / 0.5897 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1483, allocations: 7.938 kB / 0.5897 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.1485, allocations: 95.64 kB / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1485, allocations: 0 / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1486, allocations: 0 / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1486, allocations: 0 / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.1488, allocations: 59.89 kB / 0.5898 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.1493, allocations: 332.6 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.1496, allocations: 94.47 kB / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1496, allocations: 0 / 0.5902 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1496, allocations: 30.56 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1496, allocations: 0 / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001482/0.1511, allocations: 0.6792 MB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.1512, allocations: 51.41 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.1512, allocations: 101.8 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1513, allocations: 29.7 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.1513, allocations: 88.05 kB / 0.5912 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1513, allocations: 43.45 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1513, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.1514, allocations: 322.9 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.1516, allocations: 31.92 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1517, allocations: 39.97 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1518, allocations: 39.92 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1518, allocations: 0 / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002944/0.1521, allocations: 128.7 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1521, allocations: 4 kB / 0.5918 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1522, allocations: 4 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1522, allocations: 7.953 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1523, allocations: 23.98 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1523, allocations: 4 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.1524, allocations: 8 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1524, allocations: 7.984 kB / 0.5918 GB, free: 14.09 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.1525, allocations: 117.8 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.1525, allocations: 0 / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.1529, allocations: 137.5 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1529, allocations: 4 kB / 0.5921 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1529, allocations: 7.938 kB / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1529, allocations: 0 / 0.5921 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.1534, allocations: 398.2 kB / 0.5925 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1534, allocations: 4 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1536, allocations: 23.98 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1536, allocations: 4.172 kB / 0.5925 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1536, allocations: 7.953 kB / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1536, allocations: 0 / 0.5925 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1536, allocations: 4 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.1541, allocations: 263.3 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.1541, allocations: 77.17 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.1541, allocations: 4 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.1543, allocations: 19.97 kB / 0.5928 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.1543, allocations: 7.938 kB / 0.5928 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1543, allocations: 4 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.1543, allocations: 83.27 kB / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1543, allocations: 0 / 0.5929 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002501/0.1546, allocations: 35.94 kB / 0.593 GB, free: 12.8 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.1548, allocations: 143.1 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.1551, allocations: 91.89 kB / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1551, allocations: 0 / 0.5932 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1553, allocations: 55.84 kB / 0.5932 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.1554, allocations: 9.875 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005744/0.156, allocations: 377.2 kB / 0.5936 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1563, allocations: 0.6973 MB / 0.5943 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.499e-05/0.1563, allocations: 12.66 kB / 0.5943 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1564, allocations: 19.42 kB / 0.5943 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1564, allocations: 0 / 0.5943 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002955/0.1593, allocations: 1.055 MB / 0.5954 GB, free: 10.34 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: