Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001265/0.001265, allocations: 79.81 kB / 19.18 MB, free: 2.523 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.001429/0.001429, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.446/1.446, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.212/1.212, allocations: 154.6 MB / 413.7 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.488e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00251/0.002535, allocations: 1.476 MB / 0.62 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003634, allocations: 0.5643 MB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.003676, allocations: 7.938 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.003715, allocations: 7.922 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.00376, allocations: 4 kB / 0.6206 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.004353, allocations: 163.1 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.912e-05/0.004452, allocations: 55.83 kB / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.004496, allocations: 0 / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.085e-05/0.004587, allocations: 39.89 kB / 0.6208 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.004632, allocations: 15.98 kB / 0.6209 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.00465, allocations: 4 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.005089, allocations: 283.3 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.005111, allocations: 7.938 kB / 0.6211 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.005146, allocations: 19.97 kB / 0.6212 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.005463, allocations: 179.5 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005466, allocations: 0 / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.005467, allocations: 0 / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.005471, allocations: 0 / 0.6213 GB, free: 1.75 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006451/0.006116, allocations: 333.7 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.006156, allocations: 12.03 kB / 0.6217 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.006195, allocations: 4.938 kB / 0.6217 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.006307, allocations: 117.6 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.006339, allocations: 8.375 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.006367, allocations: 4.375 kB / 0.6218 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.006678, allocations: 132.4 kB / 0.6219 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.006692, allocations: 4.188 kB / 0.6219 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.006707, allocations: 8.312 kB / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.006713, allocations: 384 / 0.6219 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.006965, allocations: 51.89 kB / 0.622 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.007513, allocations: 260.4 kB / 0.6222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.007824, allocations: 78.53 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.007945, allocations: 28.78 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.007967, allocations: 160 / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.008004, allocations: 38.5 kB / 0.6224 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.008005, allocations: 0 / 0.6224 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001705/0.009709, allocations: 0.4996 MB / 0.6229 GB, free: 12 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/0.00976, allocations: 51.41 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.009844, allocations: 101.8 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.009872, allocations: 29.7 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.009929, allocations: 92.03 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.009977, allocations: 47.62 kB / 0.6232 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.01003, allocations: 33.7 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01018, allocations: 314.8 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.01032, allocations: 35.97 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.01046, allocations: 32.11 kB / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.01073, allocations: 68.83 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01073, allocations: 0 / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003443/0.01107, allocations: 128.8 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.01109, allocations: 7.938 kB / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01109, allocations: 0 / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.01111, allocations: 0 / 0.6238 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.01127, allocations: 27.97 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.01128, allocations: 8 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.01134, allocations: 8 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.01135, allocations: 0 / 0.6238 GB, free: 14.99 MB / 0.545 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 (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 0.0001072/0.01146, allocations: 126.7 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.01149, allocations: 4.094 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.01189, allocations: 125.7 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01189, allocations: 4 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01189, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.0119, allocations: 0 / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.01247, allocations: 330 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01247, allocations: 0 / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.01262, allocations: 27.98 kB / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01262, allocations: 0 / 0.6244 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.01264, allocations: 7.984 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01264, allocations: 0 / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01264, allocations: 0 / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005442/0.01318, allocations: 253.9 kB / 0.6246 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.101e-05/0.0132, allocations: 7.984 kB / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.01321, allocations: 0 / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.01334, allocations: 12.06 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.01337, allocations: 8.172 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.01338, allocations: 7.984 kB / 0.6247 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.02e-05/0.01343, allocations: 87.27 kB / 0.6248 GB, free: 13.94 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01343, allocations: 0 / 0.6248 GB, free: 13.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00029/0.01372, allocations: 35.81 kB / 0.6248 GB, free: 13.91 MB / 0.545 GB 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.0002324/0.01395, allocations: 135.1 kB / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.01431, allocations: 79.89 kB / 0.625 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01431, allocations: 4 kB / 0.625 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01446, allocations: 47.84 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.01476, allocations: 8 kB / 0.625 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.01539, allocations: 261.4 kB / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.494e-05/0.01547, allocations: 83.27 kB / 0.6254 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.981e-05/0.01553, allocations: 20.64 kB / 0.6254 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01557, allocations: 20.44 kB / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01557, allocations: 0 / 0.6254 GB, free: 13.2 MB / 0.545 GB Notification: Performance of Templates: time 0.004101/0.01967, allocations: 1.138 MB / 0.6265 GB, free: 12.13 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.859309118241072] Failed to read output from testmodel.py, exit status != 0: 0.02815908193588257 0.042000428 0.033648733 Calling exit ...