Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00949/0.00949, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.002187/0.002187, allocations: 191.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.406/0.406, allocations: 54.95 MB / 324.8 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 70.98 kB / 456.2 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1268, allocations: 59.59 MB / 0.5037 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002843/0.1297, allocations: 1.271 MB / 0.505 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000896/0.1306, allocations: 0.5173 MB / 0.5055 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.823e-05/0.1307, allocations: 0 / 0.5055 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.1307, allocations: 7.984 kB / 0.5055 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.1308, allocations: 3.938 kB / 0.5055 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005826/0.1314, allocations: 124.7 kB / 0.5056 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.229e-05/0.1315, allocations: 26.48 kB / 0.5056 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.1315, allocations: 5.266 kB / 0.5056 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.1316, allocations: 4.562 kB / 0.5056 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.1317, allocations: 14.94 kB / 0.5056 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1317, allocations: 1.719 kB / 0.5056 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.1323, allocations: 346.6 kB / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.1323, allocations: 1.375 kB / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1323, allocations: 16.05 kB / 0.506 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.1327, allocations: 128.1 kB / 0.5061 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1327, allocations: 0 / 0.5061 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1327, allocations: 0 / 0.5061 GB, free: 7.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1327, allocations: 0 / 0.5061 GB, free: 7.766 MB / 382.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.0004061/0.1331, allocations: 362.5 kB / 0.5065 GB, free: 7.375 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1332, allocations: 9.625 kB / 0.5065 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1332, allocations: 2.312 kB / 0.5065 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/0.1333, allocations: 165.7 kB / 0.5066 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1333, allocations: 9.625 kB / 0.5066 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1334, allocations: 1.75 kB / 0.5066 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.1337, allocations: 69.58 kB / 0.5067 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1338, allocations: 1.562 kB / 0.5067 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1338, allocations: 7.938 kB / 0.5067 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1338, allocations: 1.375 kB / 0.5067 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.134, allocations: 45.88 kB / 0.5068 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.1342, allocations: 159.2 kB / 0.5069 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.1346, allocations: 80.83 kB / 0.507 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.1347, allocations: 15.73 kB / 0.507 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.135, allocations: 105.7 kB / 0.5071 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.135, allocations: 31.94 kB / 0.5071 GB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.135, allocations: 0 / 0.5071 GB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002643/0.1376, allocations: 0.6058 MB / 0.5077 GB, free: 6.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1377, allocations: 56.88 kB / 0.5078 GB, free: 6.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.057e-05/0.1377, allocations: 101.3 kB / 0.5079 GB, free: 6.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1378, allocations: 26.98 kB / 0.5079 GB, free: 6.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.715e-05/0.1378, allocations: 80.14 kB / 0.508 GB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1378, allocations: 18.66 kB / 0.508 GB, free: 5.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.1379, allocations: 22.17 kB / 0.508 GB, free: 5.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.1379, allocations: 313.2 kB / 0.5083 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.138, allocations: 33.59 kB / 0.5084 GB, free: 5.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1382, allocations: 35.38 kB / 0.5084 GB, free: 5.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1384, allocations: 73.98 kB / 0.5085 GB, free: 5.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1384, allocations: 0 / 0.5085 GB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000258/0.1387, allocations: 111.7 kB / 0.5086 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1387, allocations: 10.19 kB / 0.5086 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1387, allocations: 4.031 kB / 0.5086 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1387, allocations: 3.984 kB / 0.5086 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1389, allocations: 19.23 kB / 0.5086 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1389, allocations: 1.688 kB / 0.5086 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/0.139, allocations: 8.578 kB / 0.5086 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.139, allocations: 2.781 kB / 0.5086 GB, free: 5.441 MB / 382.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 6.299e-05/0.139, allocations: 118.9 kB / 0.5087 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1391, allocations: 5.938 kB / 0.5087 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.1391, allocations: 9 kB / 0.5087 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1391, allocations: 4.922 kB / 0.5087 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1391, allocations: 0 / 0.5087 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1391, allocations: 1.125 kB / 0.5087 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005353/0.1397, allocations: 373.8 kB / 0.5091 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1397, allocations: 5.438 kB / 0.5091 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1398, allocations: 21.97 kB / 0.5091 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1398, allocations: 5.812 kB / 0.5091 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1399, allocations: 0 / 0.5091 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1399, allocations: 1.719 kB / 0.5091 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1399, allocations: 0 / 0.5091 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.1403, allocations: 255.1 kB / 0.5094 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1403, allocations: 83.47 kB / 0.5095 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1404, allocations: 5.406 kB / 0.5095 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.1405, allocations: 10.17 kB / 0.5095 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.1405, allocations: 11.38 kB / 0.5095 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.1406, allocations: 1.281 kB / 0.5095 GB, free: 4.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.497e-05/0.1406, allocations: 78.03 kB / 0.5096 GB, free: 4.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1406, allocations: 0 / 0.5096 GB, free: 4.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002465/0.1408, allocations: 9.125 kB / 0.5096 GB, free: 4.523 MB / 382.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 9.909e-05/0.1409, allocations: 106.6 kB / 0.5097 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1412, allocations: 80.98 kB / 0.5097 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1413, allocations: 0 / 0.5097 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1414, allocations: 39.12 kB / 0.5098 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1416, allocations: 12.02 kB / 0.5098 GB, free: 4.367 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.1423, allocations: 263.9 kB / 0.51 GB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.1424, allocations: 0.6807 MB / 0.5107 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.001e-05/0.1425, allocations: 8 kB / 0.5107 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.1425, allocations: 7.438 kB / 0.5107 GB, free: 3.359 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1425, allocations: 0 / 0.5107 GB, free: 3.359 MB / 382.1 MB Notification: Performance of Templates: time 0.002798/0.1453, allocations: 0.7231 MB / 0.5114 GB, free: 2.676 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)