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.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.001339/0.001339, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001652/0.001652, allocations: 166.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.203/1.203, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.516e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002927/0.002962, allocations: 1.298 MB / 0.6198 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.004111, allocations: 0.5409 MB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.004139, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.255e-05/0.004162, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.004201, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000786/0.004987, allocations: 162.8 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.005072, allocations: 15.92 kB / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.005124, allocations: 4 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.005199, allocations: 19.92 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.005264, allocations: 7.984 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.005289, allocations: 4 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.005873, allocations: 271.4 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.005895, allocations: 4 kB / 0.6208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.005936, allocations: 7.984 kB / 0.6208 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.006305, allocations: 159.5 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.006309, allocations: 0 / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.11e-07/0.00631, allocations: 0 / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.006314, allocations: 0 / 0.621 GB, free: 2.066 MB / 0.5294 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.0004967/0.006811, allocations: 282 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.006856, allocations: 8.031 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.006899, allocations: 8.938 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.007032, allocations: 117.7 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.007053, allocations: 8.312 kB / 0.6214 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.007076, allocations: 4.375 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.00722, allocations: 63.95 kB / 0.6215 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.00723, allocations: 192 / 0.6215 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.007243, allocations: 4.375 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.007248, allocations: 384 / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.007299, allocations: 11.94 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.007477, allocations: 105.4 kB / 0.6216 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.00771, allocations: 54.44 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.007747, allocations: 16.86 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.007769, allocations: 0 / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.0078, allocations: 34.56 kB / 0.6217 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.007801, allocations: 0 / 0.6217 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0006662/0.008467, allocations: 229.6 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.008516, allocations: 55.34 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.008591, allocations: 97.86 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.00861, allocations: 29.7 kB / 0.6221 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.008656, allocations: 80.14 kB / 0.6222 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.008686, allocations: 23.84 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.008727, allocations: 21.72 kB / 0.6222 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.008864, allocations: 314.8 kB / 0.6225 GB, free: 336 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.008893, allocations: 11.98 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.008916, allocations: 8 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.866e-05/0.008984, allocations: 40.73 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.008985, allocations: 0 / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001121/0.009097, allocations: 69.62 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.009111, allocations: 4 kB / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.009115, allocations: 4 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.009131, allocations: 0 / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.009187, allocations: 15.98 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.009194, allocations: 3.938 kB / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.009212, allocations: 0 / 0.6227 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.00922, allocations: 8 kB / 0.6227 GB, free: 160 kB / 0.5294 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 0.0001025/0.009322, allocations: 114.8 kB / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.009335, allocations: 0 / 0.6228 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.009504, allocations: 74.22 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.009508, allocations: 4 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.009516, allocations: 7.938 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.009519, allocations: 0 / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.009844, allocations: 259.1 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.009845, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.009913, allocations: 15.98 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009915, allocations: 4 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.009925, allocations: 3.938 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.009927, allocations: 3.938 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.009928, allocations: 0 / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.01016, allocations: 180.3 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.01019, allocations: 8.031 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.01021, allocations: 3.938 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01032, allocations: 8.094 kB / 0.6233 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.01034, allocations: 3.984 kB / 0.6233 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.01035, allocations: 4 kB / 0.6233 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.01041, allocations: 79.28 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01041, allocations: 0 / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003984/0.01081, allocations: 23.88 kB / 0.6234 GB, free: 15.29 MB / 0.545 GB 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.0002525/0.01106, allocations: 119.2 kB / 0.6235 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.01122, allocations: 35.84 kB / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.01122, allocations: 0 / 0.6236 GB, free: 15.14 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.01135, allocations: 27.92 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.01173, allocations: 0.9375 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.01233, allocations: 178.2 kB / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.01242, allocations: 70.16 kB / 0.6238 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.238e-05/0.01247, allocations: 4 kB / 0.6238 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.0125, allocations: 12.5 kB / 0.6238 GB, free: 14.8 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01251, allocations: 3.938 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of Templates: time 0.003579/0.01608, allocations: 0.6419 MB / 0.6245 GB, free: 14.2 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.608666036278009] Failed to read output from testmodel.py, exit status != 0: 0.0260452963411808 0.042238504 0.032706295 Calling exit ...