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.001513/0.001513, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00167/0.00167, allocations: 213.7 kB / 22.25 MB, free: 4.855 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.805 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.935/2.935, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.001899/0.001899, allocations: 68.03 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3202, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002222/0.3225, allocations: 1.304 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000959/0.3234, allocations: 0.541 MB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.3234, allocations: 3.938 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3234, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.3235, allocations: 7.938 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.324, allocations: 161.4 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.456e-05/0.3241, allocations: 27.86 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.3241, allocations: 4 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.392e-05/0.3241, allocations: 8 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.3242, allocations: 19.91 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3242, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.3246, allocations: 271.5 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3246, allocations: 7.984 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3247, allocations: 11.94 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3249, allocations: 147.8 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3249, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3249, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3249, allocations: 0 / 1.366 GB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004374/0.3254, allocations: 294 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3254, allocations: 12.03 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.3254, allocations: 30.75 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3255, allocations: 4.891 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.3256, allocations: 110.5 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3256, allocations: 8.375 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.3256, allocations: 4.375 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.3258, allocations: 109.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3258, allocations: 3.938 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3258, allocations: 0 / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3258, allocations: 4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.83e-05/0.3259, allocations: 15.98 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.326, allocations: 136.7 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3261, allocations: 58.48 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.3262, allocations: 24.86 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3262, allocations: 8 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.3262, allocations: 34.55 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3262, allocations: 0 / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.00107/0.3273, allocations: 455.8 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3273, allocations: 55.39 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.3274, allocations: 93.86 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3274, allocations: 29.83 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.3275, allocations: 84.14 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.3275, allocations: 39.62 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-05/0.3276, allocations: 29.72 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3277, allocations: 318.8 kB / 1.368 GB, free: 9.418 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.3277, allocations: 23.92 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.734e-05/0.3278, allocations: 24 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.3279, allocations: 55.47 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3279, allocations: 4 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001501/0.328, allocations: 101.6 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.328, allocations: 4 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.328, allocations: 4 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3281, allocations: 4 kB / 1.368 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3282, allocations: 23.92 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3282, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.549e-05/0.3282, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.3282, allocations: 4 kB / 1.368 GB, free: 9.164 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 8.491e-05/0.3283, allocations: 113.8 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.3283, allocations: 11.89 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.3285, allocations: 105.6 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3285, allocations: 0 / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3285, allocations: 4 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3285, allocations: 4 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3289, allocations: 325.7 kB / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3289, allocations: 0 / 1.368 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.329, allocations: 27.92 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.329, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.329, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.329, allocations: 0 / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.329, allocations: 4 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.3293, allocations: 211.5 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.3293, allocations: 7.969 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.3293, allocations: 4.062 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.3294, allocations: 11.98 kB / 1.369 GB, free: 8.258 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.3294, allocations: 3.984 kB / 1.369 GB, free: 8.254 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3294, allocations: 4 kB / 1.369 GB, free: 8.25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.3294, allocations: 79.28 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3294, allocations: 3.938 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000251/0.3297, allocations: 39.81 kB / 1.369 GB, free: 8.129 MB / 1.061 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.0006162/0.3303, allocations: 0.7787 MB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.3305, allocations: 68 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3305, allocations: 0 / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/0.3305, allocations: 31.92 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3307, allocations: 4 kB / 1.37 GB, free: 7.223 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3322, allocations: 1.499 MB / 1.371 GB, free: 5.652 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.107e-05/0.3323, allocations: 71.33 kB / 1.371 GB, free: 5.562 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.3323, allocations: 12.06 kB / 1.371 GB, free: 5.551 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.3324, allocations: 19.42 kB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3324, allocations: 0 / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.3616, allocations: 2.565 MB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.16/10.52, allocations: 7.438 kB / 1.374 GB, free: 3.145 MB / 1.061 GB " [Timeout remaining time 289] (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.505104560405016] Failed to read output from testmodel.py, exit status != 0: 10.627159881871194 10.655016474 10.325351413 Calling exit ...