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/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.0005988/0.0005988, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008794/0.001478, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006883/0.0006883, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000908/0.001596, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9762/0.9762, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.069, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7528/0.7528, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2313/0.984, allocations: 49.13 MB / 448.6 MB, free: 5.891 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.001e-06/1.001e-06, allocations: 0.5469 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048e-05/1.148e-05, allocations: 3.031 kB / 450 MB, free: 4.574 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001477/0.001489, allocations: 1.363 MB / 451.3 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006055/0.002094, allocations: 0.5903 MB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.592e-05/0.00211, allocations: 0.9844 kB / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 6.943e-06/0.002117, allocations: 0 / 451.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 1.988e-05/0.002137, allocations: 6.938 kB / 451.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.002417, allocations: 138.3 kB / 452.1 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.824e-05/0.002465, allocations: 22.42 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.681e-05/0.002492, allocations: 4 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.002544, allocations: 19.05 kB / 452.1 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.002585, allocations: 8.531 kB / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.002596, allocations: 0 / 452.1 MB, free: 2.488 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.002894, allocations: 282.3 kB / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.002906, allocations: 0 / 452.4 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.138e-05/0.002917, allocations: 5.906 kB / 452.4 MB, free: 2.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.003083, allocations: 131.6 kB / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.003091, allocations: 0 / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003092, allocations: 0 / 452.5 MB, free: 2.086 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.003098, allocations: 0 / 452.5 MB, free: 2.086 MB / 426.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.0002704/0.003369, allocations: 280 kB / 452.8 MB, free: 1.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.445e-05/0.003393, allocations: 8.031 kB / 452.8 MB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.223e-05/0.003415, allocations: 4.938 kB / 452.8 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.102e-05/0.003486, allocations: 113.7 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.712e-06/0.003493, allocations: 384 / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.00351, allocations: 1.156 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.611e-05/0.003576, allocations: 67.95 kB / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003582, allocations: 3.203 kB / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-06/0.003587, allocations: 384 / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.00359, allocations: 384 / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.00361, allocations: 16.45 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.665e-05/0.003686, allocations: 65 kB / 453.1 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.003796, allocations: 35.39 kB / 453.1 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.003813, allocations: 17.89 kB / 453.1 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.003826, allocations: 0 / 453.1 MB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.003843, allocations: 30.56 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 6.92e-07/0.003843, allocations: 1 kB / 453.2 MB, free: 1.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003923/0.004235, allocations: 240.6 kB / 453.4 MB, free: 1.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.071e-05/0.004256, allocations: 51.41 kB / 453.4 MB, free: 1.039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/0.004298, allocations: 102.7 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.004306, allocations: 25.7 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.892e-05/0.004325, allocations: 80.8 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.004348, allocations: 27.78 kB / 453.7 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.004371, allocations: 18.92 kB / 453.7 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.718e-05/0.004439, allocations: 318.8 kB / 454 MB, free: 452 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.004447, allocations: 4 kB / 454 MB, free: 448 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.004456, allocations: 9.047 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.004484, allocations: 28.83 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.004485, allocations: 0 / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 4.272e-05/0.004528, allocations: 50.66 kB / 454.1 MB, free: 352 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.004537, allocations: 4 kB / 454.1 MB, free: 348 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004541, allocations: 9.234 kB / 454.1 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.004549, allocations: 0.5938 kB / 454.1 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.004582, allocations: 8.594 kB / 454.1 MB, free: 332 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.004584, allocations: 4 kB / 454.1 MB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.004595, allocations: 5.344 kB / 454.1 MB, free: 324 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.004599, allocations: 3.984 kB / 454.1 MB, free: 320 kB / 426.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 5.074e-05/0.00465, allocations: 113.8 kB / 454.2 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-06/0.004657, allocations: 4.719 kB / 454.2 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.168e-05/0.004729, allocations: 57.8 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.00473, allocations: 1.5 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.004731, allocations: 0 / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.004734, allocations: 0 / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.004893, allocations: 216.4 kB / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.004894, allocations: 0 / 454.5 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.004929, allocations: 12 kB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.004942, allocations: 12.92 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.004944, allocations: 1.266 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.004948, allocations: 0.5625 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.004951, allocations: 7.938 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.004953, allocations: 0.5625 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.426e-05/0.005047, allocations: 161.8 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-06/0.005055, allocations: 0 / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.257e-05/0.005087, allocations: 3.938 kB / 454.7 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.005099, allocations: 12.86 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.005106, allocations: 8 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.307e-06/0.005115, allocations: 13.47 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005115, allocations: 0 / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000145/0.00526, allocations: 28.5 kB / 454.8 MB, free: 15.61 MB / 442.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.0001159/0.005376, allocations: 112.9 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.005431, allocations: 37.38 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.005434, allocations: 4.625 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.005453, allocations: 17.48 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.00556, allocations: 12.92 kB / 455 MB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006267/0.006187, allocations: 163 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.00622, allocations: 63.16 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.099e-05/0.006241, allocations: 3.75 kB / 455.2 MB, free: 15.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.006281, allocations: 60.36 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006282, allocations: 0 / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of Templates: time 0.002036/0.008318, allocations: 0.8704 MB / 456.1 MB, free: 14.31 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4006708608940244]