Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008409/0.0008407, allocations: 97.91 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.0008608/0.0008608, 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.186/1.186, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8492/0.8492, allocations: 135.2 MB / 426.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002632, allocations: 11.98 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1371, allocations: 82.3 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001285/0.1384, allocations: 1.174 MB / 0.5883 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.1389, allocations: 335.2 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.1389, allocations: 0 / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.1389, allocations: 0 / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.139, allocations: 7.969 kB / 0.5887 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1393, allocations: 83.69 kB / 0.5887 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.1394, allocations: 35.89 kB / 0.5888 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.1394, allocations: 4 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.1395, allocations: 15.98 kB / 0.5888 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.1395, allocations: 31.84 kB / 0.5888 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1395, allocations: 4 kB / 0.5888 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.1398, allocations: 175.7 kB / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.1398, allocations: 19.97 kB / 0.589 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.1398, allocations: 29.7 kB / 0.589 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1399, allocations: 72.12 kB / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.1399, allocations: 0 / 0.5891 GB, free: 1.117 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.14, allocations: 3.938 kB / 0.5891 GB, free: 1.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.14, allocations: 0 / 0.5891 GB, free: 1.113 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.0004555/0.1404, allocations: 383.1 kB / 0.5895 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.683e-05/0.1405, allocations: 8.031 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.1405, allocations: 11.91 kB / 0.5895 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1406, allocations: 163 kB / 0.5897 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1406, allocations: 11.94 kB / 0.5897 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1407, allocations: 11.98 kB / 0.5897 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.1409, allocations: 85.66 kB / 0.5898 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1409, allocations: 0 / 0.5898 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1409, allocations: 0 / 0.5898 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1409, allocations: 4 kB / 0.5898 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.1411, allocations: 59.89 kB / 0.5898 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.1416, allocations: 332.6 kB / 0.5901 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.1419, allocations: 90.47 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1419, allocations: 0 / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.142, allocations: 34.56 kB / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.142, allocations: 0 / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001439/0.1434, allocations: 0.6736 MB / 0.5909 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1435, allocations: 55.41 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.483e-05/0.1435, allocations: 101.8 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1435, allocations: 29.7 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1436, allocations: 84.05 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.1436, allocations: 43.45 kB / 0.5912 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1436, allocations: 4 kB / 0.5912 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/0.1437, allocations: 314.8 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1438, allocations: 31.97 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.144, allocations: 39.97 kB / 0.5916 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1441, allocations: 39.94 kB / 0.5916 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1441, allocations: 0 / 0.5916 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002858/0.1444, allocations: 128.9 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1444, allocations: 14.27 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.1444, allocations: 0 / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1444, allocations: 3.953 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1446, allocations: 31.98 kB / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1446, allocations: 0 / 0.5918 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.1447, allocations: 8.188 kB / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1447, allocations: 4 kB / 0.5918 GB, free: 14.06 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.352e-05/0.1448, allocations: 121.8 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.1448, allocations: 7.984 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.1451, allocations: 138.4 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1452, allocations: 0 / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1452, allocations: 3.953 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1452, allocations: 3.984 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.1457, allocations: 398.4 kB / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1457, allocations: 0 / 0.5925 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1458, allocations: 23.98 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1458, allocations: 4 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.1459, allocations: 7.938 kB / 0.5925 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1459, allocations: 4 kB / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1459, allocations: 0 / 0.5925 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.1463, allocations: 267.2 kB / 0.5927 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.1464, allocations: 77.11 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1464, allocations: 8.094 kB / 0.5928 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1465, allocations: 19.88 kB / 0.5928 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.761e-05/0.1465, allocations: 4 kB / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1465, allocations: 4 kB / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.173e-05/0.1466, allocations: 87.27 kB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1466, allocations: 0 / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002361/0.1468, allocations: 35.94 kB / 0.593 GB, free: 12.76 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.0001619/0.147, allocations: 139.2 kB / 0.5931 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1473, allocations: 87.89 kB / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1473, allocations: 0 / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1474, allocations: 51.91 kB / 0.5932 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.1476, allocations: 9.875 kB / 0.5932 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.1482, allocations: 381.2 kB / 0.5936 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.1484, allocations: 0.6973 MB / 0.5943 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.1485, allocations: 4.672 kB / 0.5943 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.1485, allocations: 23.42 kB / 0.5943 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1485, allocations: 0 / 0.5943 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.00263/0.1511, allocations: 1.06 MB / 0.5954 GB, free: 10.29 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: