Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001583/0.001584, allocations: 182.2 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.7612/0.7612, allocations: 133.3 MB / 150.1 MB, free: 11.13 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.429/1.429, allocations: 222.9 MB / 404.7 MB, free: 6.137 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.001066/0.001066, allocations: 99.56 kB / 485.9 MB, free: 7.277 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.92 kB / 0.5636 GB, free: 69.96 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1397, allocations: 80.43 MB / 0.6422 GB, free: 5.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002799/0.1425, allocations: 1.531 MB / 0.6436 GB, free: 3.918 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1436, allocations: 0.6424 MB / 0.6443 GB, free: 3.273 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.1437, allocations: 7.938 kB / 0.6443 GB, free: 3.266 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.1437, allocations: 3.984 kB / 0.6443 GB, free: 3.262 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.1438, allocations: 3.938 kB / 0.6443 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.1444, allocations: 132.8 kB / 0.6444 GB, free: 3.129 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.1445, allocations: 51.84 kB / 0.6445 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1445, allocations: 4 kB / 0.6445 GB, free: 3.074 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.1446, allocations: 31.84 kB / 0.6445 GB, free: 3.043 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.1446, allocations: 23.92 kB / 0.6445 GB, free: 3.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1447, allocations: 4 kB / 0.6445 GB, free: 3.016 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004887/0.1452, allocations: 347.3 kB / 0.6449 GB, free: 2.676 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1452, allocations: 11.92 kB / 0.6449 GB, free: 2.664 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.1452, allocations: 23.86 kB / 0.6449 GB, free: 2.641 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1455, allocations: 171.8 kB / 0.6451 GB, free: 2.473 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1455, allocations: 0 / 0.6451 GB, free: 2.473 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1456, allocations: 0 / 0.6451 GB, free: 2.473 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1456, allocations: 0 / 0.6451 GB, free: 2.473 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.0006117/0.1462, allocations: 407.2 kB / 0.6454 GB, free: 2.027 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1462, allocations: 12.03 kB / 0.6455 GB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.1463, allocations: 4.875 kB / 0.6455 GB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1464, allocations: 172.2 kB / 0.6456 GB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.1464, allocations: 8.375 kB / 0.6456 GB, free: 1.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.1465, allocations: 4.375 kB / 0.6456 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1467, allocations: 81.77 kB / 0.6457 GB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1467, allocations: 0 / 0.6457 GB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1468, allocations: 8 kB / 0.6457 GB, free: 1.699 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1468, allocations: 4 kB / 0.6457 GB, free: 1.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.147, allocations: 49.33 kB / 0.6458 GB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.1476, allocations: 328.6 kB / 0.6461 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1479, allocations: 82.53 kB / 0.6462 GB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.148, allocations: 32.78 kB / 0.6462 GB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.148, allocations: 0 / 0.6462 GB, free: 1.152 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1481, allocations: 34.56 kB / 0.6462 GB, free: 1.109 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1481, allocations: 0 / 0.6462 GB, free: 1.109 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001639/0.1497, allocations: 0.65 MB / 0.6469 GB, free: 376 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1498, allocations: 59.34 kB / 0.6469 GB, free: 304 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.058e-05/0.1498, allocations: 101.8 kB / 0.647 GB, free: 192 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1499, allocations: 29.7 kB / 0.647 GB, free: 156 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.1499, allocations: 92.05 kB / 0.6471 GB, free: 60 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.15, allocations: 39.45 kB / 0.6472 GB, free: 20 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.15, allocations: 29.8 kB / 0.6472 GB, free: 15.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1501, allocations: 314.8 kB / 0.6475 GB, free: 15.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1503, allocations: 39.97 kB / 0.6475 GB, free: 15.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1504, allocations: 31.98 kB / 0.6476 GB, free: 15.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.1507, allocations: 70.52 kB / 0.6476 GB, free: 15.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1507, allocations: 0 / 0.6476 GB, free: 15.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003132/0.151, allocations: 121.8 kB / 0.6478 GB, free: 15.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.151, allocations: 4 kB / 0.6478 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.151, allocations: 0 / 0.6478 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1511, allocations: 7.984 kB / 0.6478 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1512, allocations: 27.92 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1512, allocations: 4 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1513, allocations: 4 kB / 0.6478 GB, free: 15.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1513, allocations: 4 kB / 0.6478 GB, free: 15.35 MB / 458.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.738e-05/0.1514, allocations: 125.7 kB / 0.6479 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.1515, allocations: 7.906 kB / 0.6479 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.1518, allocations: 121.6 kB / 0.648 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1519, allocations: 7.938 kB / 0.6481 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1519, allocations: 0 / 0.6481 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1519, allocations: 0 / 0.6481 GB, free: 15.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.1524, allocations: 382.4 kB / 0.6484 GB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1524, allocations: 4 kB / 0.6484 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.1526, allocations: 31.92 kB / 0.6484 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1526, allocations: 4 kB / 0.6485 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1526, allocations: 0 / 0.6485 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1526, allocations: 3.984 kB / 0.6485 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1526, allocations: 0 / 0.6485 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.1554, allocations: 1.369 MB / 0.6498 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.1554, allocations: 81.14 kB / 0.6499 GB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1554, allocations: 8.062 kB / 0.6499 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1556, allocations: 8.094 kB / 0.6499 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.1556, allocations: 7.984 kB / 0.6499 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1556, allocations: 8 kB / 0.6499 GB, free: 12.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.1556, allocations: 79.27 kB / 0.65 GB, free: 12.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1557, allocations: 0 / 0.65 GB, free: 12.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.156, allocations: 51.88 kB / 0.65 GB, free: 12.82 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.0002019/0.1562, allocations: 135.1 kB / 0.6502 GB, free: 12.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.1565, allocations: 84.77 kB / 0.6502 GB, free: 12.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1566, allocations: 3.938 kB / 0.6502 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.1567, allocations: 47.91 kB / 0.6503 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.157, allocations: 8 kB / 0.6503 GB, free: 12.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.1577, allocations: 474.1 kB / 0.6507 GB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.158, allocations: 0.7004 MB / 0.6514 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.224e-05/0.1581, allocations: 12.61 kB / 0.6514 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1581, allocations: 15.44 kB / 0.6515 GB, free: 11.28 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1581, allocations: 0 / 0.6515 GB, free: 11.28 MB / 458.7 MB Notification: Performance of Templates: time 0.003371/0.1615, allocations: 1.135 MB / 0.6526 GB, free: 10.18 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)