Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001342, allocations: 183.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/package.mo): time 0.7806/0.7806, allocations: 132.2 MB / 148.9 MB, free: 12.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.413/1.413, allocations: 222.9 MB / 403.3 MB, free: 7.027 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.001022/0.001022, allocations: 117.3 kB / 484.4 MB, free: 8.641 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009866/0.0009867, allocations: 47.92 kB / 0.5619 GB, free: 70.98 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1393, allocations: 80.2 MB / 0.6402 GB, free: 6.715 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002461/0.1418, allocations: 1.333 MB / 0.6415 GB, free: 5.363 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009769/0.1428, allocations: 0.6355 MB / 0.6421 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.1429, allocations: 0 / 0.6421 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.1429, allocations: 0 / 0.6421 GB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.1429, allocations: 7.938 kB / 0.6421 GB, free: 4.719 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1434, allocations: 125.5 kB / 0.6422 GB, free: 4.598 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.875e-05/0.1434, allocations: 19.92 kB / 0.6422 GB, free: 4.578 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.1435, allocations: 3.984 kB / 0.6422 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.1435, allocations: 12 kB / 0.6423 GB, free: 4.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.1436, allocations: 7.922 kB / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.1436, allocations: 4 kB / 0.6423 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.1441, allocations: 343.3 kB / 0.6426 GB, free: 4.215 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1441, allocations: 4 kB / 0.6426 GB, free: 4.211 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1442, allocations: 7.938 kB / 0.6426 GB, free: 4.203 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1444, allocations: 151.9 kB / 0.6428 GB, free: 4.055 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1444, allocations: 4 kB / 0.6428 GB, free: 4.051 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1444, allocations: 4 kB / 0.6428 GB, free: 4.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.247e-06/0.1444, allocations: 0 / 0.6428 GB, free: 4.047 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.0004247/0.1449, allocations: 359.4 kB / 0.6431 GB, free: 3.648 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1449, allocations: 12.02 kB / 0.6431 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.1449, allocations: 0.9375 kB / 0.6431 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1451, allocations: 164.4 kB / 0.6433 GB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1451, allocations: 384 / 0.6433 GB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1451, allocations: 8.281 kB / 0.6433 GB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.763e-05/0.1452, allocations: 45.75 kB / 0.6433 GB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1452, allocations: 4 kB / 0.6433 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1452, allocations: 4 kB / 0.6433 GB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1452, allocations: 4 kB / 0.6433 GB, free: 3.367 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.385e-05/0.1453, allocations: 11.94 kB / 0.6433 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.1454, allocations: 153.7 kB / 0.6435 GB, free: 3.156 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1456, allocations: 46.7 kB / 0.6435 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.1456, allocations: 20.78 kB / 0.6436 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1457, allocations: 11.94 kB / 0.6436 GB, free: 3.066 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1457, allocations: 34.5 kB / 0.6436 GB, free: 3.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1457, allocations: 0 / 0.6436 GB, free: 3.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005679/0.1463, allocations: 306.2 kB / 0.6439 GB, free: 2.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1463, allocations: 51.41 kB / 0.6439 GB, free: 2.609 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.1464, allocations: 94.19 kB / 0.644 GB, free: 2.508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1464, allocations: 33.7 kB / 0.6441 GB, free: 2.469 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.1464, allocations: 84.14 kB / 0.6441 GB, free: 2.383 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1465, allocations: 15.7 kB / 0.6442 GB, free: 2.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1465, allocations: 21.72 kB / 0.6442 GB, free: 2.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1466, allocations: 314.8 kB / 0.6445 GB, free: 2.023 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.1467, allocations: 15.98 kB / 0.6445 GB, free: 2.008 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.1467, allocations: 7.984 kB / 0.6445 GB, free: 2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.1468, allocations: 40.94 kB / 0.6445 GB, free: 1.957 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1468, allocations: 0 / 0.6445 GB, free: 1.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.009e-05/0.1469, allocations: 69.62 kB / 0.6446 GB, free: 1.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1469, allocations: 4 kB / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1469, allocations: 0 / 0.6446 GB, free: 1.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1469, allocations: 4 kB / 0.6446 GB, free: 1.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.147, allocations: 16.17 kB / 0.6446 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.147, allocations: 0 / 0.6446 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.668e-05/0.147, allocations: 0 / 0.6446 GB, free: 1.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.147, allocations: 4 kB / 0.6446 GB, free: 1.855 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.179e-05/0.1471, allocations: 111.1 kB / 0.6447 GB, free: 1.738 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.1471, allocations: 23.83 kB / 0.6448 GB, free: 1.715 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1472, allocations: 69.64 kB / 0.6448 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1473, allocations: 0 / 0.6448 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1473, allocations: 0 / 0.6448 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1473, allocations: 0 / 0.6448 GB, free: 1.641 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.1476, allocations: 319.5 kB / 0.6451 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1476, allocations: 0 / 0.6451 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.1477, allocations: 11.98 kB / 0.6451 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1477, allocations: 0 / 0.6451 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1477, allocations: 8.031 kB / 0.6452 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1477, allocations: 0 / 0.6452 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1477, allocations: 0 / 0.6452 GB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008278/0.1485, allocations: 1.031 MB / 0.6462 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.1486, allocations: 81.09 kB / 0.6462 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-06/0.1486, allocations: 0 / 0.6462 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1487, allocations: 4 kB / 0.6462 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.1487, allocations: 11.86 kB / 0.6463 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1487, allocations: 8 kB / 0.6463 GB, free: 15.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.1488, allocations: 79.28 kB / 0.6463 GB, free: 15.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1488, allocations: 0 / 0.6463 GB, free: 15.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002998/0.1491, allocations: 28.03 kB / 0.6464 GB, free: 15.85 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.000174/0.1493, allocations: 119.2 kB / 0.6465 GB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.421e-05/0.1494, allocations: 31.98 kB / 0.6465 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1494, allocations: 0 / 0.6465 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.1494, allocations: 20.05 kB / 0.6465 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.1496, allocations: 4 kB / 0.6465 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.1501, allocations: 320.9 kB / 0.6468 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1504, allocations: 0.6901 MB / 0.6475 GB, free: 14.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.1504, allocations: 16.14 kB / 0.6475 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.1505, allocations: 11.44 kB / 0.6475 GB, free: 14.57 MB / 458.7 MB Notification: Performance of SimCode: time 2e-07/0.1505, allocations: 0 / 0.6475 GB, free: 14.57 MB / 458.7 MB Notification: Performance of Templates: time 0.002537/0.153, allocations: 0.6477 MB / 0.6482 GB, free: 13.93 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)