Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001156/0.001156, allocations: 183.4 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.6936/0.6936, allocations: 132.2 MB / 148.9 MB, free: 12.17 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.369/1.369, allocations: 222.9 MB / 403.4 MB, free: 7.113 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.001072/0.001072, allocations: 99.7 kB / 484.3 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009958/0.0009959, allocations: 55.92 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1341, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002217/0.1364, allocations: 1.329 MB / 0.6415 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1374, allocations: 0.6471 MB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.1374, allocations: 0 / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1374, allocations: 3.938 kB / 0.6421 GB, free: 4.793 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.1375, allocations: 4 kB / 0.6421 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1379, allocations: 130.3 kB / 0.6422 GB, free: 4.664 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.138, allocations: 23.92 kB / 0.6423 GB, free: 4.641 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.138, allocations: 7.938 kB / 0.6423 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.401e-05/0.1381, allocations: 11.94 kB / 0.6423 GB, free: 4.621 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.1381, allocations: 15.97 kB / 0.6423 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1382, allocations: 0 / 0.6423 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.1386, allocations: 339.4 kB / 0.6426 GB, free: 4.273 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1387, allocations: 19.91 kB / 0.6426 GB, free: 4.254 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1387, allocations: 7.938 kB / 0.6426 GB, free: 4.246 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.139, allocations: 151.9 kB / 0.6428 GB, free: 4.098 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.139, allocations: 4 kB / 0.6428 GB, free: 4.094 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.139, allocations: 0 / 0.6428 GB, free: 4.094 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.139, allocations: 0 / 0.6428 GB, free: 4.094 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.0004309/0.1395, allocations: 371.4 kB / 0.6432 GB, free: 3.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1395, allocations: 8.031 kB / 0.6432 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1395, allocations: 4.938 kB / 0.6432 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.1397, allocations: 168.3 kB / 0.6433 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1397, allocations: 8.375 kB / 0.6433 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1397, allocations: 8.266 kB / 0.6433 GB, free: 3.453 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.1398, allocations: 61.78 kB / 0.6434 GB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1399, allocations: 0 / 0.6434 GB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1399, allocations: 4 kB / 0.6434 GB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1399, allocations: 0 / 0.6434 GB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.14, allocations: 19.98 kB / 0.6434 GB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1402, allocations: 165.6 kB / 0.6436 GB, free: 3.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1403, allocations: 62.5 kB / 0.6436 GB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1403, allocations: 28.84 kB / 0.6437 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1404, allocations: 0 / 0.6437 GB, free: 3.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1404, allocations: 38.5 kB / 0.6437 GB, free: 3.004 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.1404, allocations: 0 / 0.6437 GB, free: 3.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001167/0.1416, allocations: 0.5879 MB / 0.6443 GB, free: 2.324 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1416, allocations: 51.41 kB / 0.6443 GB, free: 2.262 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.1417, allocations: 97.84 kB / 0.6444 GB, free: 2.156 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1417, allocations: 29.7 kB / 0.6444 GB, free: 2.121 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.1418, allocations: 80.14 kB / 0.6445 GB, free: 2.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1418, allocations: 43.52 kB / 0.6446 GB, free: 1.996 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.1419, allocations: 25.72 kB / 0.6446 GB, free: 1.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.142, allocations: 326.8 kB / 0.6449 GB, free: 1.637 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.408e-05/0.1421, allocations: 16 kB / 0.6449 GB, free: 1.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.1421, allocations: 23.98 kB / 0.6449 GB, free: 1.598 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.304e-05/0.1422, allocations: 54.3 kB / 0.645 GB, free: 1.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1422, allocations: 3.938 kB / 0.645 GB, free: 1.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001484/0.1424, allocations: 105.6 kB / 0.6451 GB, free: 1.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1424, allocations: 4 kB / 0.6451 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1424, allocations: 4 kB / 0.6451 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1424, allocations: 0 / 0.6451 GB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1425, allocations: 27.92 kB / 0.6451 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1425, allocations: 0 / 0.6451 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.1426, allocations: 4 kB / 0.6451 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1426, allocations: 4 kB / 0.6451 GB, free: 1.387 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 8.849e-05/0.1427, allocations: 115.1 kB / 0.6452 GB, free: 1.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.1427, allocations: 7.906 kB / 0.6453 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1429, allocations: 113.6 kB / 0.6454 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1429, allocations: 0 / 0.6454 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1429, allocations: 0 / 0.6454 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1429, allocations: 0 / 0.6454 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/0.1433, allocations: 358.5 kB / 0.6457 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1434, allocations: 4 kB / 0.6457 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1435, allocations: 19.94 kB / 0.6457 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1435, allocations: 0 / 0.6457 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1435, allocations: 7.984 kB / 0.6457 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1435, allocations: 4 kB / 0.6457 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1435, allocations: 0 / 0.6457 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.1458, allocations: 1.314 MB / 0.647 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.1459, allocations: 81.02 kB / 0.6471 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.1459, allocations: 7.922 kB / 0.6471 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.146, allocations: 12.09 kB / 0.6471 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.146, allocations: 4 kB / 0.6471 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.146, allocations: 7.984 kB / 0.6471 GB, free: 15.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.1461, allocations: 79.38 kB / 0.6472 GB, free: 15.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1461, allocations: 0 / 0.6472 GB, free: 15.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.1464, allocations: 36 kB / 0.6472 GB, free: 14.98 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.0001819/0.1466, allocations: 139.1 kB / 0.6474 GB, free: 14.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.1467, allocations: 60.42 kB / 0.6474 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1467, allocations: 0 / 0.6474 GB, free: 14.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.687e-05/0.1468, allocations: 36.25 kB / 0.6475 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.147, allocations: 9.766 kB / 0.6475 GB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.1476, allocations: 445.2 kB / 0.6479 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1478, allocations: 0.6887 MB / 0.6486 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.848e-05/0.1479, allocations: 15.98 kB / 0.6486 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.1479, allocations: 11.44 kB / 0.6486 GB, free: 13.51 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1479, allocations: 0 / 0.6486 GB, free: 13.51 MB / 458.7 MB Notification: Performance of Templates: time 0.002868/0.1508, allocations: 0.9534 MB / 0.6495 GB, free: 12.57 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)