Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001478/0.001478, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001644/0.001644, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.967/2.967, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [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.001876/0.001876, allocations: 63.8 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3006, allocations: 180.2 MB / 1.353 GB, free: 8.488 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002409/0.303, allocations: 1.314 MB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.304, allocations: 0.6189 MB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.701e-05/0.3041, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.3041, allocations: 0 / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/0.3041, allocations: 3.938 kB / 1.355 GB, free: 6.539 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.3047, allocations: 161.9 kB / 1.355 GB, free: 6.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.3048, allocations: 27.86 kB / 1.355 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.3048, allocations: 7.984 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.3048, allocations: 4 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.008e-05/0.3049, allocations: 23.91 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3049, allocations: 4 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.3054, allocations: 339.3 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.3054, allocations: 11.97 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.3055, allocations: 11.94 kB / 1.355 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.3057, allocations: 155.8 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3058, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3058, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.3058, allocations: 0 / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003968/0.3062, allocations: 301.9 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3062, allocations: 8.031 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.3062, allocations: 30.75 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.3063, allocations: 12.81 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.3063, allocations: 110.5 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.3064, allocations: 384 / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3064, allocations: 12.27 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3065, allocations: 54.22 kB / 1.356 GB, free: 5.219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3065, allocations: 7.938 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.3065, allocations: 0 / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3065, allocations: 4 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.3066, allocations: 19.98 kB / 1.356 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3067, allocations: 136.7 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3068, allocations: 58.5 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.3069, allocations: 28.84 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3069, allocations: 0 / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.3069, allocations: 34.56 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.3069, allocations: 4 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001022/0.308, allocations: 443.9 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.308, allocations: 51.41 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.3081, allocations: 101.9 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3081, allocations: 25.7 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.3081, allocations: 80.14 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.3082, allocations: 47.61 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3082, allocations: 25.7 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3083, allocations: 318.8 kB / 1.357 GB, free: 3.695 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.027e-05/0.3084, allocations: 19.98 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.3084, allocations: 23.98 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.3085, allocations: 63.67 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3085, allocations: 0 / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001503/0.3087, allocations: 101.6 kB / 1.357 GB, free: 3.484 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3087, allocations: 7.984 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3087, allocations: 0 / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3087, allocations: 96 / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3088, allocations: 27.94 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3088, allocations: 3.938 kB / 1.358 GB, free: 3.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/0.3088, allocations: 4 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3088, allocations: 7.984 kB / 1.358 GB, free: 3.434 MB / 1.045 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 8.852e-05/0.3089, allocations: 118.4 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.3089, allocations: 7.938 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.3091, allocations: 113.7 kB / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3091, allocations: 0 / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3091, allocations: 0 / 1.358 GB, free: 3.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3091, allocations: 11.91 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.3096, allocations: 317.6 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3096, allocations: 0 / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.3097, allocations: 23.98 kB / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3097, allocations: 0 / 1.358 GB, free: 2.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3097, allocations: 8 kB / 1.358 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3097, allocations: 3.938 kB / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3097, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.3099, allocations: 215.4 kB / 1.358 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.3099, allocations: 4 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3099, allocations: 0 / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.31, allocations: 8.094 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.31, allocations: 11.92 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.3101, allocations: 4 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.3101, allocations: 79.28 kB / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3101, allocations: 0 / 1.358 GB, free: 2.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002582/0.3104, allocations: 39.86 kB / 1.358 GB, free: 2.406 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0006037/0.311, allocations: 0.7787 MB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.3111, allocations: 59.86 kB / 1.359 GB, free: 1.543 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3111, allocations: 4 kB / 1.359 GB, free: 1.539 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.3111, allocations: 27.98 kB / 1.359 GB, free: 1.512 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.3114, allocations: 8 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3129, allocations: 1.504 MB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3131, allocations: 0.6884 MB / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.875e-05/0.3132, allocations: 19.95 kB / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.3132, allocations: 15.44 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3132, allocations: 0 / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/0.3432, allocations: 2.204 MB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/10.34, allocations: 6.797 kB / 1.364 GB, free: 13.14 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.330362457083538] Failed to read output from testmodel.py, exit status != 0: 10.443982385098934 10.458330173 10.149759625 Calling exit ...