Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 182.9 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.7278/0.7278, 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.593/1.593, allocations: 222.9 MB / 404.7 MB, free: 6.016 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.001035/0.001035, allocations: 115.5 kB / 485.9 MB, free: 7.137 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001029, allocations: 59.91 kB / 0.5636 GB, free: 69.88 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1418, allocations: 80.42 MB / 0.6421 GB, free: 5.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00284/0.1447, allocations: 1.322 MB / 0.6434 GB, free: 4.043 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1458, allocations: 0.6319 MB / 0.6441 GB, free: 3.41 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.1459, allocations: 0 / 0.6441 GB, free: 3.41 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.1459, allocations: 7.938 kB / 0.6441 GB, free: 3.402 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.146, allocations: 7.984 kB / 0.6441 GB, free: 3.395 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.1467, allocations: 129.4 kB / 0.6442 GB, free: 3.27 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.1468, allocations: 11.94 kB / 0.6442 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.514e-05/0.1469, allocations: 0 / 0.6442 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.147, allocations: 15.98 kB / 0.6442 GB, free: 3.242 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.147, allocations: 7.922 kB / 0.6442 GB, free: 3.234 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1471, allocations: 4 kB / 0.6442 GB, free: 3.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.1478, allocations: 343.3 kB / 0.6446 GB, free: 2.895 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.1478, allocations: 3.984 kB / 0.6446 GB, free: 2.891 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.1479, allocations: 15.92 kB / 0.6446 GB, free: 2.875 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1483, allocations: 143.9 kB / 0.6447 GB, free: 2.734 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.1483, allocations: 0 / 0.6447 GB, free: 2.734 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1483, allocations: 0 / 0.6447 GB, free: 2.734 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1483, allocations: 0 / 0.6447 GB, free: 2.734 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006516/0.149, allocations: 363.4 kB / 0.6451 GB, free: 2.332 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.1491, allocations: 12.03 kB / 0.6451 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.1491, allocations: 4.938 kB / 0.6451 GB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.1493, allocations: 164.4 kB / 0.6452 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1493, allocations: 384 / 0.6452 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1494, allocations: 4.281 kB / 0.6452 GB, free: 2.113 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1495, allocations: 45.81 kB / 0.6453 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1495, allocations: 0 / 0.6453 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1496, allocations: 0 / 0.6453 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1496, allocations: 0 / 0.6453 GB, free: 2.062 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.029e-05/0.1496, allocations: 19.92 kB / 0.6453 GB, free: 2.043 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.1499, allocations: 153.7 kB / 0.6454 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002457/0.1502, allocations: 46.56 kB / 0.6455 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.1502, allocations: 24.78 kB / 0.6455 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1503, allocations: 0 / 0.6455 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.1503, allocations: 38.5 kB / 0.6456 GB, free: 1.715 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1503, allocations: 0 / 0.6456 GB, free: 1.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008939/0.1512, allocations: 322.2 kB / 0.6459 GB, free: 1.348 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/0.1513, allocations: 51.41 kB / 0.6459 GB, free: 1.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.1514, allocations: 97.8 kB / 0.646 GB, free: 1.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1515, allocations: 29.7 kB / 0.646 GB, free: 1.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1515, allocations: 84.14 kB / 0.6461 GB, free: 1.059 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.1516, allocations: 15.7 kB / 0.6461 GB, free: 1.043 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.564e-05/0.1516, allocations: 21.72 kB / 0.6461 GB, free: 1.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1518, allocations: 318.8 kB / 0.6465 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.1519, allocations: 12 kB / 0.6465 GB, free: 0.6836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.071e-05/0.1519, allocations: 11.98 kB / 0.6465 GB, free: 0.6719 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.793e-05/0.152, allocations: 36.84 kB / 0.6465 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.152, allocations: 0 / 0.6465 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000137/0.1521, allocations: 65.58 kB / 0.6466 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1522, allocations: 4 kB / 0.6466 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1522, allocations: 3.984 kB / 0.6466 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1522, allocations: 0 / 0.6466 GB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/0.1523, allocations: 16 kB / 0.6466 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1523, allocations: 4 kB / 0.6466 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.1523, allocations: 0 / 0.6466 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1523, allocations: 4 kB / 0.6466 GB, free: 0.5312 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 (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 7.993e-05/0.1524, allocations: 105.8 kB / 0.6467 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1525, allocations: 15.84 kB / 0.6467 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.1526, allocations: 77.56 kB / 0.6468 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1526, allocations: 0 / 0.6468 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1526, allocations: 0 / 0.6468 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1526, allocations: 0 / 0.6468 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.153, allocations: 315.4 kB / 0.6471 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.153, allocations: 4 kB / 0.6471 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.1531, allocations: 11.98 kB / 0.6471 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1531, allocations: 0 / 0.6471 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1531, allocations: 4 kB / 0.6471 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1531, allocations: 192 / 0.6471 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1531, allocations: 4 kB / 0.6471 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009397/0.1541, allocations: 1.02 MB / 0.6481 GB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.1541, allocations: 81.14 kB / 0.6482 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.1542, allocations: 0 / 0.6482 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.1542, allocations: 8.031 kB / 0.6482 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.1543, allocations: 15.86 kB / 0.6482 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.1543, allocations: 8 kB / 0.6482 GB, free: 14.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.619e-05/0.1543, allocations: 75.28 kB / 0.6483 GB, free: 14.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1543, allocations: 4 kB / 0.6483 GB, free: 14.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003506/0.1547, allocations: 23.94 kB / 0.6483 GB, free: 14.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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 0.0002245/0.1549, allocations: 123.2 kB / 0.6484 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.1551, allocations: 36.16 kB / 0.6485 GB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1551, allocations: 4 kB / 0.6485 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.1551, allocations: 19.92 kB / 0.6485 GB, free: 14.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.1553, allocations: 4 kB / 0.6485 GB, free: 14.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.1559, allocations: 321 kB / 0.6488 GB, free: 13.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1562, allocations: 0.6809 MB / 0.6495 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1562, allocations: 8.141 kB / 0.6495 GB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.1563, allocations: 15.44 kB / 0.6495 GB, free: 13.26 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1563, allocations: 4 kB / 0.6495 GB, free: 13.25 MB / 458.7 MB Notification: Performance of Templates: time 0.002956/0.1592, allocations: 0.6244 MB / 0.6501 GB, free: 12.64 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)