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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 116.9 kB / 16.42 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 182.7 kB / 17.35 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7543/0.7543, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 70.83 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1262, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002138/0.1284, allocations: 1.274 MB / 0.6616 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.1294, allocations: 0.6191 MB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.1294, allocations: 0 / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.1294, allocations: 0 / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.238e-05/0.1295, allocations: 7.922 kB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.13, allocations: 150.4 kB / 0.6623 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.1301, allocations: 19.92 kB / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.1301, allocations: 0 / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.1302, allocations: 11.94 kB / 0.6624 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.1302, allocations: 11.97 kB / 0.6624 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1302, allocations: 4 kB / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.1308, allocations: 339.3 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.1308, allocations: 7.984 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.1308, allocations: 15.94 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1311, allocations: 147.6 kB / 0.6629 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1311, allocations: 0 / 0.6629 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1311, allocations: 0 / 0.6629 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1311, allocations: 0 / 0.6629 GB, free: 7.68 MB / 0.4981 GB 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.0003789/0.1315, allocations: 355.5 kB / 0.6632 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1315, allocations: 8.031 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1316, allocations: 8.844 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1317, allocations: 168.3 kB / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.1317, allocations: 384 / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.1317, allocations: 8.375 kB / 0.6634 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.1318, allocations: 45.56 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1318, allocations: 3.938 kB / 0.6634 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1318, allocations: 4 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.1319, allocations: 0 / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.1319, allocations: 8 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1321, allocations: 157.7 kB / 0.6636 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1322, allocations: 50.55 kB / 0.6636 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.1323, allocations: 20.94 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1323, allocations: 3.938 kB / 0.6637 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.1323, allocations: 30.56 kB / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1323, allocations: 0 / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005669/0.1329, allocations: 314.2 kB / 0.664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.1329, allocations: 55.41 kB / 0.6641 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.133, allocations: 101.8 kB / 0.6641 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.133, allocations: 25.7 kB / 0.6642 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.576e-05/0.133, allocations: 80.14 kB / 0.6643 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1331, allocations: 19.72 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.1331, allocations: 21.7 kB / 0.6643 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1332, allocations: 314.8 kB / 0.6646 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.1333, allocations: 11.98 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.1333, allocations: 15.98 kB / 0.6646 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.1333, allocations: 36.8 kB / 0.6647 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1334, allocations: 4 kB / 0.6647 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.568e-05/0.1335, allocations: 69.52 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1335, allocations: 8 kB / 0.6647 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1335, allocations: 0 / 0.6647 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1335, allocations: 0 / 0.6647 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.1336, allocations: 11.98 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1336, allocations: 0 / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.1336, allocations: 4 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.1336, allocations: 0 / 0.6647 GB, free: 5.484 MB / 0.4981 GB 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.2e-05/0.1337, allocations: 122.7 kB / 0.6649 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.1337, allocations: 3.938 kB / 0.6649 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.1338, allocations: 73.58 kB / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1338, allocations: 0 / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1339, allocations: 0 / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.1339, allocations: 85.11 kB / 0.665 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1339, allocations: 7.875 kB / 0.665 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.134, allocations: 3.984 kB / 0.665 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.134, allocations: 8 kB / 0.665 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001488/0.1342, allocations: 144.8 kB / 0.6652 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001912/0.1344, allocations: 250.7 kB / 0.6654 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.967e-05/0.1344, allocations: 20.27 kB / 0.6654 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.1344, allocations: 75.28 kB / 0.6655 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of Backend: time 2.6e-07/0.1345, allocations: 0 / 0.6655 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.1349, allocations: 174.3 kB / 0.6657 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004789/0.1354, allocations: 0.6179 MB / 0.6663 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.00333/0.1388, allocations: 1.261 MB / 0.6675 GB, free: 2.57 MB / 0.4981 GB 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)