Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001462/0.001462, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00168/0.00168, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.332/1.332, allocations: 230.6 MB / 256 MB, free: 7.781 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.988/2.988, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001904/0.001904, allocations: 65.23 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00246/0.3057, allocations: 1.489 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3067, allocations: 0.5577 MB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.3067, allocations: 0 / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.3068, allocations: 7.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.852e-05/0.3068, allocations: 7.938 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005698/0.3074, allocations: 161.4 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.3075, allocations: 51.78 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.3075, allocations: 4 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.3076, allocations: 27.91 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.668e-05/0.3076, allocations: 19.92 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3076, allocations: 11.94 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.3081, allocations: 275.5 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.3081, allocations: 11.92 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.3081, allocations: 15.94 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.3084, allocations: 171.6 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3084, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3084, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3084, allocations: 0 / 1.366 GB, free: 11.26 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005889/0.309, allocations: 327.5 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.309, allocations: 12.03 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.3091, allocations: 34.75 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3091, allocations: 8.891 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3092, allocations: 114.5 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3093, allocations: 8.375 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.3093, allocations: 8.375 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3095, allocations: 129.6 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3096, allocations: 3.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3096, allocations: 4 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.3096, allocations: 3.984 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.3098, allocations: 51.95 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.3103, allocations: 291.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3106, allocations: 78.53 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.3107, allocations: 32.77 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3108, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3108, allocations: 30.56 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3108, allocations: 4 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001549/0.3123, allocations: 0.4996 MB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.3124, allocations: 55.41 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.3125, allocations: 105.8 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3125, allocations: 29.7 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.3125, allocations: 84.14 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.3126, allocations: 43.64 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.3126, allocations: 21.72 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3128, allocations: 322.8 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.3129, allocations: 31.97 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.313, allocations: 30.48 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3133, allocations: 84.77 kB / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3133, allocations: 0 / 1.368 GB, free: 8.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003095/0.3136, allocations: 117.7 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3136, allocations: 4 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3136, allocations: 0 / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3136, allocations: 4 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.3137, allocations: 23.98 kB / 1.369 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.3137, allocations: 7.922 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.3138, allocations: 12 kB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3138, allocations: 4 kB / 1.369 GB, free: 8.422 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 (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 9.339e-05/0.3139, allocations: 118.4 kB / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.3139, allocations: 0 / 1.369 GB, free: 8.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.3143, allocations: 137.6 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3143, allocations: 0 / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3143, allocations: 3.938 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3143, allocations: 0 / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.3149, allocations: 357.7 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3149, allocations: 0 / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3151, allocations: 27.97 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3151, allocations: 3.938 kB / 1.369 GB, free: 7.715 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3151, allocations: 8 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3151, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3151, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.3156, allocations: 254.9 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-06/0.3156, allocations: 8.281 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.3156, allocations: 7.875 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3157, allocations: 11.97 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3158, allocations: 11.98 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.3158, allocations: 4 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.3158, allocations: 79.28 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3158, allocations: 0 / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002762/0.3161, allocations: 39.86 kB / 1.37 GB, free: 7.285 MB / 1.061 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.0009231/0.317, allocations: 0.8176 MB / 1.37 GB, free: 6.441 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.3173, allocations: 79.83 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3173, allocations: 0 / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3175, allocations: 43.97 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3178, allocations: 8 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3198, allocations: 1.585 MB / 1.372 GB, free: 4.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.788e-05/0.3198, allocations: 79.27 kB / 1.372 GB, free: 4.547 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.122e-05/0.3199, allocations: 20.59 kB / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.32, allocations: 19.53 kB / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.32, allocations: 0 / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.349, allocations: 2.877 MB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.52, allocations: 3.984 kB / 1.375 GB, free: 1.812 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.547246661037207] Failed to read output from testmodel.py, exit status != 0: 10.62706297216937 10.652624669 10.339524822 Calling exit ...