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/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.0009961/0.0009961, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002296, allocations: 435.8 kB / 10.33 MB, free: 368 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.001068/0.001068, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002364, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9636/0.9636, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1042/1.068, allocations: 53.64 MB / 243.2 MB, free: 15.6 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.7912/0.7912, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2774/1.069, allocations: 49.13 MB / 448.4 MB, free: 6.016 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 449.7 MB, free: 4.73 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.942e-05, allocations: 4.094 kB / 449.7 MB, free: 4.727 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001961/0.001981, allocations: 1.562 MB / 451.3 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.002757, allocations: 0.6041 MB / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.00279, allocations: 0 / 451.9 MB, free: 2.594 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.002815, allocations: 4.5 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.203e-05/0.002847, allocations: 11.78 kB / 451.9 MB, free: 2.582 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.003334, allocations: 156.1 kB / 452 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.361e-05/0.003428, allocations: 52.14 kB / 452.1 MB, free: 2.395 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.003473, allocations: 9.703 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.003584, allocations: 39.66 kB / 452.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.345e-05/0.003628, allocations: 23.95 kB / 452.2 MB, free: 2.328 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.003643, allocations: 4 kB / 452.2 MB, free: 2.324 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.004033, allocations: 279.4 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.004055, allocations: 14.06 kB / 452.4 MB, free: 2.039 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.004083, allocations: 12 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.00435, allocations: 147.5 kB / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.931e-05/0.004369, allocations: 0 / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.00437, allocations: 0 / 452.6 MB, free: 1.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.004389, allocations: 0.6562 kB / 452.6 MB, free: 1.883 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005459/0.004935, allocations: 328.1 kB / 452.9 MB, free: 1.539 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.004973, allocations: 8.031 kB / 452.9 MB, free: 1.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.005013, allocations: 12.92 kB / 452.9 MB, free: 1.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.005117, allocations: 107.7 kB / 453 MB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.005148, allocations: 4.375 kB / 453.1 MB, free: 1.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.005171, allocations: 9 kB / 453.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.005358, allocations: 134.2 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.005371, allocations: 1.688 kB / 453.2 MB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.005384, allocations: 4.375 kB / 453.2 MB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.005391, allocations: 4.375 kB / 453.2 MB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.005433, allocations: 19.92 kB / 453.2 MB, free: 1.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.005786, allocations: 210.2 kB / 453.4 MB, free: 0.9805 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.005896, allocations: 46.56 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.005919, allocations: 16.84 kB / 453.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.005943, allocations: 4.906 kB / 453.5 MB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.005972, allocations: 38.5 kB / 453.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/0.005975, allocations: 1.562 kB / 453.5 MB, free: 0.8555 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008652/0.00684, allocations: 455.7 kB / 454 MB, free: 368 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.006871, allocations: 52.41 kB / 454 MB, free: 304 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.006941, allocations: 111.7 kB / 454.1 MB, free: 180 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.006955, allocations: 29.7 kB / 454.2 MB, free: 144 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.00699, allocations: 89.47 kB / 454.3 MB, free: 52 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.007025, allocations: 43.61 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.007081, allocations: 31.06 kB / 454.3 MB, free: 15.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.007163, allocations: 310.8 kB / 454.6 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.007184, allocations: 15.98 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.007202, allocations: 10.38 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.048e-05/0.007253, allocations: 42.19 kB / 454.7 MB, free: 15.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.007254, allocations: 3.938 kB / 454.7 MB, free: 15.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 8.978e-05/0.007343, allocations: 76.3 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.00736, allocations: 4 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007365, allocations: 1.062 kB / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007376, allocations: 0 / 454.8 MB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.007485, allocations: 27.98 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.007488, allocations: 0.7188 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.007513, allocations: 16.83 kB / 454.8 MB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.007518, allocations: 0 / 454.8 MB, free: 15.46 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 7.051e-05/0.007589, allocations: 118.4 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.007608, allocations: 7.938 kB / 455 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.007734, allocations: 79.22 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.007737, allocations: 3.984 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.007739, allocations: 0 / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.007743, allocations: 1.688 kB / 455 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.007978, allocations: 246.4 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007981, allocations: 0 / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004054/0.008386, allocations: 29.42 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.008393, allocations: 3.938 kB / 455.3 MB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.0084, allocations: 7.984 kB / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.008407, allocations: 0.8438 kB / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.008409, allocations: 0 / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.00841, allocations: 0 / 455.3 MB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.008566, allocations: 196 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.008577, allocations: 0.8438 kB / 455.5 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.008625, allocations: 7.984 kB / 455.5 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.008639, allocations: 8.656 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008645, allocations: 3.984 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.032e-05/0.008655, allocations: 9.766 kB / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.008655, allocations: 0 / 455.5 MB, free: 14.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001898/0.008845, allocations: 41.06 kB / 455.6 MB, free: 14.66 MB / 442.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.0001825/0.009027, allocations: 128.2 kB / 455.7 MB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.009135, allocations: 61.33 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.00914, allocations: 0 / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.931e-05/0.00917, allocations: 33.38 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.009363, allocations: 21.53 kB / 455.8 MB, free: 14.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.01045, allocations: 209 kB / 456 MB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.01049, allocations: 68.02 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.46e-05/0.01053, allocations: 18.64 kB / 456.1 MB, free: 14.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.01059, allocations: 63.91 kB / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01059, allocations: 0 / 456.2 MB, free: 14.02 MB / 442.7 MB Notification: Performance of Templates: time 0.003503/0.0141, allocations: 1.444 MB / 457.6 MB, free: 12.73 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.497873393818736]