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.001444/0.001444, allocations: 109.2 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.001681/0.001681, allocations: 218.7 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 8.012 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.951/2.951, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.002719/0.002719, allocations: 69.44 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3054, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002525/0.3079, allocations: 1.511 MB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.309, allocations: 0.6383 MB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.274e-05/0.309, allocations: 0 / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.3091, allocations: 11.92 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.3091, allocations: 3.938 kB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.3097, allocations: 163.3 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.379e-05/0.3098, allocations: 51.84 kB / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.3098, allocations: 0 / 1.355 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.3099, allocations: 27.91 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.3099, allocations: 27.86 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.3099, allocations: 8 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.3105, allocations: 347.3 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.932e-05/0.3105, allocations: 12 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.3105, allocations: 27.84 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.3108, allocations: 175.6 kB / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3108, allocations: 0 / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3108, allocations: 0 / 1.356 GB, free: 5.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3108, allocations: 0 / 1.356 GB, free: 5.469 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005791/0.3114, allocations: 337.8 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3115, allocations: 8.031 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.3115, allocations: 34.75 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.177e-05/0.3115, allocations: 4.938 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3116, allocations: 118.4 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3117, allocations: 4.375 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.3117, allocations: 8.375 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.3119, allocations: 78.16 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3119, allocations: 3.938 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3119, allocations: 4 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3119, allocations: 4 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.3121, allocations: 51.95 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.3127, allocations: 295.7 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3129, allocations: 82.47 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.313, allocations: 24.84 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.3131, allocations: 8 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3131, allocations: 34.66 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.3131, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.001506/0.3146, allocations: 0.4917 MB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.3146, allocations: 51.41 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.311e-05/0.3147, allocations: 105.9 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3148, allocations: 37.64 kB / 1.357 GB, free: 3.488 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.3148, allocations: 88.09 kB / 1.358 GB, free: 3.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.3149, allocations: 43.62 kB / 1.358 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.3149, allocations: 33.7 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3151, allocations: 314.8 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3152, allocations: 27.97 kB / 1.358 GB, free: 2.973 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3153, allocations: 31.98 kB / 1.358 GB, free: 2.941 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.3155, allocations: 78.7 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3155, allocations: 4 kB / 1.358 GB, free: 2.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002915/0.3158, allocations: 117.7 kB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3158, allocations: 9.562 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3158, allocations: 0 / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.3159, allocations: 4.172 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.316, allocations: 23.98 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.316, allocations: 7.938 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.896e-05/0.3161, allocations: 4 kB / 1.358 GB, free: 2.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3161, allocations: 11.98 kB / 1.358 GB, free: 2.68 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 0.0001031/0.3162, allocations: 129.6 kB / 1.358 GB, free: 2.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.3162, allocations: 3.953 kB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.3166, allocations: 133.6 kB / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3166, allocations: 0 / 1.359 GB, free: 2.402 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3166, allocations: 7.938 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3166, allocations: 0 / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.3171, allocations: 353.5 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.3171, allocations: 0 / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3172, allocations: 23.98 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3172, allocations: 7.938 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3173, allocations: 4 kB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3173, allocations: 0 / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3173, allocations: 4 kB / 1.359 GB, free: 1.961 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.3177, allocations: 243.4 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.3177, allocations: 15.97 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3178, allocations: 7.875 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3179, allocations: 7.938 kB / 1.359 GB, free: 1.676 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.3179, allocations: 12.05 kB / 1.359 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3179, allocations: 8 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.318, allocations: 83.27 kB / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.318, allocations: 0 / 1.359 GB, free: 1.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002612/0.3182, allocations: 35.88 kB / 1.359 GB, free: 1.539 MB / 1.045 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.0008609/0.3191, allocations: 0.8202 MB / 1.36 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002856/0.3194, allocations: 75.89 kB / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3194, allocations: 0 / 1.36 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3195, allocations: 47.91 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.3198, allocations: 8 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.3219, allocations: 1.6 MB / 1.362 GB, free: 14.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3222, allocations: 0.6885 MB / 1.362 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.96e-05/0.3222, allocations: 12.67 kB / 1.362 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.3223, allocations: 27.42 kB / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3223, allocations: 0 / 1.362 GB, free: 14.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.3518, allocations: 2.47 MB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.911/10.26, allocations: 9.047 kB / 1.365 GB, free: 11.83 MB / 1.061 GB " [Timeout remaining time 290] (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.227206317009404] Failed to read output from testmodel.py, exit status != 0: 10.361938528018072 10.375430964 10.061805214 Calling exit ...