Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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-master/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-master/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001666, allocations: 183.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-master/package.mo): time 0.8711/0.8711, allocations: 133.4 MB / 150.1 MB, free: 11.16 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.422/1.422, allocations: 222.9 MB / 404.7 MB, free: 6.09 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.000991/0.0009911, allocations: 103.5 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001013, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1435, allocations: 80.43 MB / 0.6422 GB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002338/0.1459, allocations: 1.335 MB / 0.6435 GB, free: 4.07 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1469, allocations: 0.6398 MB / 0.6441 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.147, allocations: 0 / 0.6441 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.193e-05/0.147, allocations: 3.938 kB / 0.6441 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.983e-05/0.1471, allocations: 0 / 0.6441 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.1475, allocations: 127.6 kB / 0.6442 GB, free: 3.301 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.26e-05/0.1476, allocations: 23.92 kB / 0.6442 GB, free: 3.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.1476, allocations: 3.984 kB / 0.6442 GB, free: 3.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.1476, allocations: 12 kB / 0.6442 GB, free: 3.262 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.1477, allocations: 19.92 kB / 0.6443 GB, free: 3.242 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1477, allocations: 4 kB / 0.6443 GB, free: 3.238 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004589/0.1482, allocations: 343.3 kB / 0.6446 GB, free: 2.902 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.1482, allocations: 3.938 kB / 0.6446 GB, free: 2.898 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1482, allocations: 23.91 kB / 0.6446 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1485, allocations: 147.9 kB / 0.6448 GB, free: 2.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1485, allocations: 4 kB / 0.6448 GB, free: 2.727 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1485, allocations: 0 / 0.6448 GB, free: 2.727 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1485, allocations: 0 / 0.6448 GB, free: 2.727 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004254/0.149, allocations: 375.3 kB / 0.6451 GB, free: 2.312 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.149, allocations: 12.03 kB / 0.6451 GB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.468e-05/0.149, allocations: 0.9375 kB / 0.6451 GB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1492, allocations: 168.3 kB / 0.6453 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1492, allocations: 384 / 0.6453 GB, free: 2.098 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.1492, allocations: 12.28 kB / 0.6453 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.1494, allocations: 49.81 kB / 0.6454 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1494, allocations: 0 / 0.6454 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1494, allocations: 0 / 0.6454 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1494, allocations: 0 / 0.6454 GB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.1495, allocations: 27.98 kB / 0.6454 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1497, allocations: 173.6 kB / 0.6456 GB, free: 1.785 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.1498, allocations: 58.5 kB / 0.6456 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.1498, allocations: 28.84 kB / 0.6456 GB, free: 1.688 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.1499, allocations: 4 kB / 0.6456 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1499, allocations: 38.5 kB / 0.6457 GB, free: 1.637 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1499, allocations: 4 kB / 0.6457 GB, free: 1.633 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001128/0.151, allocations: 0.5762 MB / 0.6462 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1511, allocations: 51.41 kB / 0.6463 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.1512, allocations: 101.9 kB / 0.6464 GB, free: 0.793 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1512, allocations: 25.7 kB / 0.6464 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.1512, allocations: 84.14 kB / 0.6465 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.1513, allocations: 43.39 kB / 0.6465 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1513, allocations: 29.7 kB / 0.6466 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.1514, allocations: 310.8 kB / 0.6469 GB, free: 292 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.1515, allocations: 23.98 kB / 0.6469 GB, free: 268 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.1515, allocations: 24.55 kB / 0.6469 GB, free: 244 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/0.1516, allocations: 59.48 kB / 0.647 GB, free: 184 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1516, allocations: 11.88 kB / 0.647 GB, free: 172 kB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001412/0.1518, allocations: 97.59 kB / 0.6471 GB, free: 68 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1518, allocations: 4 kB / 0.6471 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1518, allocations: 7.969 kB / 0.6471 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1518, allocations: 4 kB / 0.6471 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.1519, allocations: 19.94 kB / 0.6471 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1519, allocations: 0 / 0.6471 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.152, allocations: 4.094 kB / 0.6471 GB, free: 28 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.152, allocations: 7.938 kB / 0.6471 GB, free: 20 kB / 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 9.503e-05/0.1521, allocations: 125.8 kB / 0.6472 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.1521, allocations: 7.906 kB / 0.6472 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.1523, allocations: 101.6 kB / 0.6473 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1523, allocations: 0 / 0.6473 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1523, allocations: 0 / 0.6473 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1523, allocations: 4 kB / 0.6473 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1527, allocations: 354.4 kB / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1527, allocations: 0 / 0.6477 GB, free: 15.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1528, allocations: 31.92 kB / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.1528, allocations: 0 / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1529, allocations: 4 kB / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1529, allocations: 0 / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1529, allocations: 0 / 0.6477 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.1553, allocations: 1.306 MB / 0.649 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.1554, allocations: 85.05 kB / 0.6491 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.1554, allocations: 3.938 kB / 0.6491 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1555, allocations: 0 / 0.6491 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.1555, allocations: 20.02 kB / 0.6491 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.1555, allocations: 4 kB / 0.6491 GB, free: 13.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.1555, allocations: 75.28 kB / 0.6492 GB, free: 13.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1556, allocations: 4 kB / 0.6492 GB, free: 13.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1559, allocations: 35.98 kB / 0.6492 GB, free: 13.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002117/0.1561, allocations: 143.1 kB / 0.6493 GB, free: 13.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.1563, allocations: 59.91 kB / 0.6494 GB, free: 13.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1563, allocations: 4.094 kB / 0.6494 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.052e-05/0.1563, allocations: 39.86 kB / 0.6494 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1566, allocations: 5.688 kB / 0.6494 GB, free: 13.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.1572, allocations: 434.3 kB / 0.6499 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1575, allocations: 0.6965 MB / 0.6505 GB, free: 12.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1575, allocations: 11.98 kB / 0.6506 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.1575, allocations: 11.44 kB / 0.6506 GB, free: 12.16 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1575, allocations: 0 / 0.6506 GB, free: 12.16 MB / 458.7 MB Notification: Performance of Templates: time 0.002962/0.1605, allocations: 0.9506 MB / 0.6515 GB, free: 11.22 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)