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-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_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.0008939/0.0008938, allocations: 99.55 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.001006/0.001006, 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.188/1.188, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8249/0.8249, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002839, allocations: 12 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 82.3 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001216/0.1458, allocations: 0.9828 MB / 0.5882 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005234/0.1464, allocations: 319.1 kB / 0.5885 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1464, allocations: 0 / 0.5885 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.1465, allocations: 3.984 kB / 0.5885 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.175e-05/0.1465, allocations: 11.98 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.1468, allocations: 59.8 kB / 0.5885 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.382e-05/0.1469, allocations: 15.97 kB / 0.5885 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1469, allocations: 3.984 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.1469, allocations: 7.938 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.147, allocations: 11.98 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.147, allocations: 0 / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1473, allocations: 175.7 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.806e-06/0.1473, allocations: 3.984 kB / 0.5887 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.1473, allocations: 29.7 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1474, allocations: 68.03 kB / 0.5888 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1474, allocations: 0 / 0.5888 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1474, allocations: 0 / 0.5888 GB, free: 1.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.1474, allocations: 0 / 0.5888 GB, free: 1.426 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.0003211/0.1478, allocations: 343.3 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.1478, allocations: 11.97 kB / 0.5892 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.1478, allocations: 0 / 0.5892 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.148, allocations: 167 kB / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.148, allocations: 0 / 0.5893 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.148, allocations: 4 kB / 0.5893 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.515e-05/0.1481, allocations: 41.69 kB / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1481, allocations: 0 / 0.5894 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1481, allocations: 4 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.1481, allocations: 0 / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.1482, allocations: 15.98 kB / 0.5894 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.1483, allocations: 157.7 kB / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1485, allocations: 50.5 kB / 0.5896 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1485, allocations: 4 kB / 0.5896 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.1485, allocations: 30.56 kB / 0.5896 GB, free: 464 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1486, allocations: 0 / 0.5896 GB, free: 464 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005423/0.1491, allocations: 306.2 kB / 0.5899 GB, free: 104 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.1491, allocations: 55.39 kB / 0.59 GB, free: 36 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.1492, allocations: 102.2 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1492, allocations: 29.7 kB / 0.5901 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.1493, allocations: 84.14 kB / 0.5902 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.1493, allocations: 19.78 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.1493, allocations: 3.938 kB / 0.5902 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1494, allocations: 318.8 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.1494, allocations: 4 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.1495, allocations: 15.98 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.1495, allocations: 15.95 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.1495, allocations: 3.938 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.372e-05/0.1496, allocations: 69.59 kB / 0.5906 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1496, allocations: 8 kB / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1496, allocations: 0 / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1497, allocations: 0 / 0.5906 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.1497, allocations: 8 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1497, allocations: 0 / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.1497, allocations: 7.938 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1498, allocations: 0 / 0.5906 GB, free: 15.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.1498, allocations: 121.7 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1498, allocations: 7.984 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.15, allocations: 65.66 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.15, allocations: 0 / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.15, allocations: 4 kB / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.15, allocations: 0 / 0.5908 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.1503, allocations: 323.3 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1503, allocations: 192 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.1504, allocations: 12 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1504, allocations: 8.031 kB / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.1504, allocations: 0 / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1504, allocations: 0 / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1504, allocations: 3.938 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1506, allocations: 194 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.1506, allocations: 77.11 kB / 0.5914 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1506, allocations: 16.05 kB / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.545e-05/0.1507, allocations: 0 / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1507, allocations: 0 / 0.5914 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1507, allocations: 4 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.1508, allocations: 79.28 kB / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1508, allocations: 0 / 0.5915 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002374/0.151, allocations: 27.92 kB / 0.5915 GB, free: 14.28 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 (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.0001397/0.1512, allocations: 123.1 kB / 0.5916 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.453e-05/0.1512, allocations: 36.22 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1513, allocations: 4 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.1513, allocations: 19.88 kB / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.1514, allocations: 4 kB / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.1518, allocations: 214 kB / 0.5919 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.152, allocations: 0.6887 MB / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.152, allocations: 8.141 kB / 0.5926 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.152, allocations: 15.44 kB / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.152, allocations: 0 / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.002237/0.1543, allocations: 0.6091 MB / 0.5932 GB, free: 12.53 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: