Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001578/0.001578, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.001684/0.001684, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.825/2.825, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.88 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.802/0.804, allocations: 176.1 MB / 1.322 GB, free: 25.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001849/0.8058, allocations: 1.3 MB / 1.323 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.8066, allocations: 0.6035 MB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.8066, allocations: 2.562 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.8066, allocations: 4 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.8066, allocations: 3.938 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.8071, allocations: 146 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.707e-05/0.8071, allocations: 23.44 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.8072, allocations: 2.562 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.8072, allocations: 2.531 kB / 1.324 GB, free: 23.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.8072, allocations: 20.33 kB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.8073, allocations: 0 / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.8076, allocations: 343 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.426e-06/0.8076, allocations: 4 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.8076, allocations: 14.42 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.8078, allocations: 139.5 kB / 1.324 GB, free: 23.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8078, allocations: 4 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8078, allocations: 0 / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.8078, allocations: 3.938 kB / 1.324 GB, free: 23.63 MB / 1.061 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.0003055/0.8081, allocations: 366.4 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.8082, allocations: 12.61 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.8082, allocations: 3.875 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.366e-05/0.8083, allocations: 168.3 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.8083, allocations: 3.312 kB / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.8083, allocations: 384 / 1.325 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.337e-05/0.8084, allocations: 41.34 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.8084, allocations: 192 / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.8084, allocations: 3.938 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.8084, allocations: 0 / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.512e-05/0.8084, allocations: 20.88 kB / 1.325 GB, free: 22.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.8085, allocations: 158.8 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.8087, allocations: 42.69 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.8087, allocations: 20.47 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.8087, allocations: 0 / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.337e-05/0.8088, allocations: 34.56 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.8088, allocations: 0 / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004803/0.8092, allocations: 312.9 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.8093, allocations: 54.09 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.179e-05/0.8093, allocations: 100 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.8093, allocations: 25.7 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.8093, allocations: 82.7 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.8094, allocations: 25.75 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.8094, allocations: 16.56 kB / 1.326 GB, free: 22.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.8094, allocations: 317.4 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.8095, allocations: 12.52 kB / 1.326 GB, free: 21.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.8095, allocations: 12.25 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.891e-05/0.8095, allocations: 39.59 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8095, allocations: 0 / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.88e-05/0.8096, allocations: 69.09 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.8096, allocations: 9.344 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8096, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.8096, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.575e-05/0.8097, allocations: 10.41 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.8097, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.549e-05/0.8097, allocations: 4 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.8097, allocations: 6.234 kB / 1.326 GB, free: 21.7 MB / 1.061 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 4.564e-05/0.8098, allocations: 112.5 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.8098, allocations: 7.891 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.8099, allocations: 77.44 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8099, allocations: 2.719 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.8099, allocations: 0 / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8099, allocations: 0 / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.8101, allocations: 330.4 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8101, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.8102, allocations: 8.562 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8102, allocations: 2.531 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.8102, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8102, allocations: 0 / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8102, allocations: 5.703 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.8103, allocations: 186.2 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.8103, allocations: 80.53 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.8104, allocations: 6.688 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.8104, allocations: 4 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.8104, allocations: 5.828 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.8104, allocations: 2.875 kB / 1.327 GB, free: 20.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.902e-05/0.8105, allocations: 82.05 kB / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.8105, allocations: 0 / 1.327 GB, free: 20.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002331/0.8107, allocations: 29.02 kB / 1.327 GB, free: 20.81 MB / 1.061 GB 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.0001431/0.8108, allocations: 124.4 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.8109, allocations: 38.81 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8109, allocations: 0 / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.447e-05/0.811, allocations: 15.91 kB / 1.327 GB, free: 20.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.8112, allocations: 17.33 kB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.8115, allocations: 218.7 kB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.8116, allocations: 0.6793 MB / 1.328 GB, free: 19.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.8116, allocations: 10.16 kB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.8116, allocations: 4 kB / 1.328 GB, free: 19.78 MB / 1.061 GB Notification: Performance of Templates: time 0.002083/0.8137, allocations: 0.801 MB / 1.329 GB, free: 19.71 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 10.687885892999475] Failed to read output from testmodel.py, exit status != 0: 0.8212504480034113 0.831055448 0.020928746 Calling exit ...