Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 173 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9103/0.9103, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7746/0.7746, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.071e-05, allocations: 2.312 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001809/0.00183, allocations: 1.317 MB / 481.7 MB, free: 5.246 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.002577, allocations: 0.5788 MB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.002598, allocations: 5.109 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.693e-05/0.002615, allocations: 3.984 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.002651, allocations: 4.484 kB / 482.3 MB, free: 4.672 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.003058, allocations: 149.4 kB / 482.4 MB, free: 4.535 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.17e-05/0.00311, allocations: 30.31 kB / 482.5 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.003145, allocations: 10.62 kB / 482.5 MB, free: 4.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.41e-05/0.003179, allocations: 19.92 kB / 482.5 MB, free: 4.48 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.003227, allocations: 7.984 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.003238, allocations: 4 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.003503, allocations: 276.1 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.003518, allocations: 8 kB / 482.8 MB, free: 4.191 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.501e-05/0.003533, allocations: 9.328 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.003712, allocations: 163.5 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003714, allocations: 0 / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003715, allocations: 0.5312 kB / 482.9 MB, free: 4.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.475e-06/0.003718, allocations: 0 / 482.9 MB, free: 4.023 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.0002575/0.003975, allocations: 272.2 kB / 483.2 MB, free: 3.734 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.004004, allocations: 8.031 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.004029, allocations: 9.875 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.757e-05/0.004097, allocations: 111.4 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.004106, allocations: 0.9062 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.004131, allocations: 16.61 kB / 483.4 MB, free: 3.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.004213, allocations: 94.97 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.004223, allocations: 4.188 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.00423, allocations: 8.359 kB / 483.5 MB, free: 3.449 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004235, allocations: 1.031 kB / 483.5 MB, free: 3.449 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.004256, allocations: 11.94 kB / 483.5 MB, free: 3.438 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.335e-05/0.004339, allocations: 70.25 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.004406, allocations: 38.56 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.004428, allocations: 34.06 kB / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.004441, allocations: 0.9375 kB / 483.6 MB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.004459, allocations: 34.56 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.00446, allocations: 1.094 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006683/0.005128, allocations: 434.9 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.005152, allocations: 51.41 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.271e-05/0.005194, allocations: 111.3 kB / 484.2 MB, free: 2.574 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.005203, allocations: 27.27 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.766e-05/0.00522, allocations: 84.14 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.00525, allocations: 43.62 kB / 484.4 MB, free: 2.414 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.005282, allocations: 29.69 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.005375, allocations: 311.7 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.005389, allocations: 15.98 kB / 484.7 MB, free: 2.051 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.005403, allocations: 12.56 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.005442, allocations: 39.94 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.005443, allocations: 1.281 kB / 484.8 MB, free: 2 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 5.928e-05/0.005502, allocations: 65.69 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.005513, allocations: 10.17 kB / 484.9 MB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.005517, allocations: 4.656 kB / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.609e-06/0.005526, allocations: 0 / 484.9 MB, free: 1.918 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.00559, allocations: 20.62 kB / 484.9 MB, free: 1.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.005595, allocations: 4.562 kB / 484.9 MB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.293e-05/0.005608, allocations: 4.844 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005614, allocations: 8.609 kB / 484.9 MB, free: 1.883 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 5.084e-05/0.005665, allocations: 114.4 kB / 485 MB, free: 1.762 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-06/0.005673, allocations: 7.938 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.236e-05/0.005765, allocations: 82.34 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005766, allocations: 0.625 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005768, allocations: 0 / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.005772, allocations: 4.875 kB / 485.1 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.005957, allocations: 222.8 kB / 485.3 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.005958, allocations: 1.562 kB / 485.3 MB, free: 1.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.006015, allocations: 23.92 kB / 485.3 MB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.006018, allocations: 6.438 kB / 485.4 MB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.006025, allocations: 4 kB / 485.4 MB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.006026, allocations: 0 / 485.4 MB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.441e-05/0.00609, allocations: 8.562 kB / 485.4 MB, free: 1.383 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.006201, allocations: 176.5 kB / 485.5 MB, free: 1.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.006208, allocations: 7.953 kB / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.006216, allocations: 0 / 485.5 MB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.006253, allocations: 4.625 kB / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.006266, allocations: 16.89 kB / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.00627, allocations: 0 / 485.6 MB, free: 1.168 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.594e-06/0.006278, allocations: 8.859 kB / 485.6 MB, free: 1.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006278, allocations: 0.5312 kB / 485.6 MB, free: 1.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001538/0.006432, allocations: 41.8 kB / 485.6 MB, free: 1.117 MB / 442.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.0001288/0.006561, allocations: 112.3 kB / 485.7 MB, free: 1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.079e-05/0.006631, allocations: 52.7 kB / 485.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.006633, allocations: 1.094 kB / 485.8 MB, free: 0.9453 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.902e-05/0.006652, allocations: 20.86 kB / 485.8 MB, free: 0.9219 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.819e-05/0.00675, allocations: 11.98 kB / 485.8 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.007146, allocations: 233 kB / 486 MB, free: 0.6836 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.007177, allocations: 60.2 kB / 486.1 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.906e-05/0.007206, allocations: 17.08 kB / 486.1 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.007248, allocations: 63.31 kB / 486.2 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.007249, allocations: 0 / 486.2 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of Templates: time 0.002443/0.009692, allocations: 1.062 MB / 487.2 MB, free: 15.58 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4039143547415733]