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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7283/0.7283, allocations: 132.2 MB / 148.9 MB, free: 12.12 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.691/1.691, allocations: 222.9 MB / 403.4 MB, free: 7 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 97.92 kB / 484.3 MB, free: 8.645 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 55.91 kB / 0.5619 GB, free: 70.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1346, allocations: 80.19 MB / 0.6402 GB, free: 6.719 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002522/0.1371, allocations: 1.533 MB / 0.6417 GB, free: 5.164 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1382, allocations: 0.655 MB / 0.6423 GB, free: 4.508 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1382, allocations: 4 kB / 0.6423 GB, free: 4.504 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.1383, allocations: 3.984 kB / 0.6423 GB, free: 4.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.1383, allocations: 3.938 kB / 0.6423 GB, free: 4.496 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.1388, allocations: 137.8 kB / 0.6424 GB, free: 4.363 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.816e-05/0.1389, allocations: 51.78 kB / 0.6425 GB, free: 4.312 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.139, allocations: 8 kB / 0.6425 GB, free: 4.305 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.139, allocations: 27.91 kB / 0.6425 GB, free: 4.277 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.1391, allocations: 15.92 kB / 0.6425 GB, free: 4.262 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1391, allocations: 4 kB / 0.6426 GB, free: 4.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.1395, allocations: 347.3 kB / 0.6429 GB, free: 3.918 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.1396, allocations: 15.92 kB / 0.6429 GB, free: 3.902 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.1396, allocations: 23.88 kB / 0.6429 GB, free: 3.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.1399, allocations: 167.9 kB / 0.6431 GB, free: 3.715 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1399, allocations: 4 kB / 0.6431 GB, free: 3.711 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1399, allocations: 3.938 kB / 0.6431 GB, free: 3.707 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1399, allocations: 4 kB / 0.6431 GB, free: 3.703 MB / 442.7 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.0005546/0.1405, allocations: 407.2 kB / 0.6435 GB, free: 3.258 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1405, allocations: 8.031 kB / 0.6435 GB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.46e-05/0.1405, allocations: 4.938 kB / 0.6435 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1406, allocations: 168.2 kB / 0.6437 GB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1407, allocations: 4.375 kB / 0.6437 GB, free: 3.039 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1407, allocations: 8.375 kB / 0.6437 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.1409, allocations: 85.77 kB / 0.6437 GB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.141, allocations: 7.984 kB / 0.6438 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.141, allocations: 0 / 0.6438 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.141, allocations: 0 / 0.6438 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.1412, allocations: 51.91 kB / 0.6438 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1417, allocations: 332.6 kB / 0.6441 GB, free: 2.508 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.142, allocations: 82.47 kB / 0.6442 GB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.1421, allocations: 28.84 kB / 0.6442 GB, free: 2.387 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1422, allocations: 4 kB / 0.6442 GB, free: 2.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1422, allocations: 34.56 kB / 0.6443 GB, free: 2.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1422, allocations: 0 / 0.6443 GB, free: 2.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001505/0.1437, allocations: 0.6421 MB / 0.6449 GB, free: 1.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1438, allocations: 59.34 kB / 0.6449 GB, free: 1.535 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.1438, allocations: 101.8 kB / 0.645 GB, free: 1.426 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1438, allocations: 25.7 kB / 0.6451 GB, free: 1.395 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.1439, allocations: 96.05 kB / 0.6452 GB, free: 1.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.1439, allocations: 35.45 kB / 0.6452 GB, free: 1.262 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.144, allocations: 29.7 kB / 0.6452 GB, free: 1.227 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.505e-05/0.1441, allocations: 322.8 kB / 0.6455 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.1442, allocations: 31.97 kB / 0.6456 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1443, allocations: 34.05 kB / 0.6456 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.1446, allocations: 72.83 kB / 0.6457 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1446, allocations: 0 / 0.6457 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002869/0.1449, allocations: 113.8 kB / 0.6458 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1449, allocations: 8 kB / 0.6458 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1449, allocations: 0 / 0.6458 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1449, allocations: 4 kB / 0.6458 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.1451, allocations: 35.94 kB / 0.6458 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1451, allocations: 4.25 kB / 0.6458 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.1452, allocations: 7.938 kB / 0.6458 GB, free: 0.5898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1452, allocations: 8 kB / 0.6458 GB, free: 0.582 MB / 442.7 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 (13): * Single equations (assignments): 13 * 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 7.96e-05/0.1453, allocations: 111.2 kB / 0.6459 GB, free: 476 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.1453, allocations: 11.91 kB / 0.646 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.1457, allocations: 133.5 kB / 0.6461 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1457, allocations: 3.938 kB / 0.6461 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1457, allocations: 0 / 0.6461 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1457, allocations: 0 / 0.6461 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.1462, allocations: 386.6 kB / 0.6465 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1462, allocations: 4 kB / 0.6465 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1464, allocations: 31.86 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1464, allocations: 3.984 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1464, allocations: 8 kB / 0.6465 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1464, allocations: 0 / 0.6465 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1464, allocations: 0 / 0.6465 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.1489, allocations: 1.357 MB / 0.6478 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.149, allocations: 89.22 kB / 0.6479 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.149, allocations: 0 / 0.6479 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1491, allocations: 8 kB / 0.6479 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/0.1492, allocations: 7.984 kB / 0.6479 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1492, allocations: 4 kB / 0.6479 GB, free: 14.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.976e-05/0.1492, allocations: 87.27 kB / 0.648 GB, free: 14.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 0.648 GB, free: 14.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.1496, allocations: 43.94 kB / 0.6481 GB, free: 14.05 MB / 458.7 MB 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 (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.0001979/0.1498, allocations: 135.1 kB / 0.6482 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002899/0.1501, allocations: 88.5 kB / 0.6483 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1501, allocations: 0 / 0.6483 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1502, allocations: 44.03 kB / 0.6483 GB, free: 13.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.1505, allocations: 13.61 kB / 0.6483 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.1512, allocations: 482 kB / 0.6488 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.1515, allocations: 0.6965 MB / 0.6495 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1515, allocations: 12.66 kB / 0.6495 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.1515, allocations: 11.44 kB / 0.6495 GB, free: 12.51 MB / 458.7 MB Notification: Performance of SimCode: time 3.21e-07/0.1516, allocations: 0 / 0.6495 GB, free: 12.51 MB / 458.7 MB Notification: Performance of Templates: time 0.002951/0.1545, allocations: 1.142 MB / 0.6506 GB, free: 11.38 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (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)