Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001319/0.001319, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001389/0.001389, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.472/1.472, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.971/2.971, allocations: 476.7 MB / 0.7678 GB, free: 9.566 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="cs",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.002221/0.002221, allocations: 59.91 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.204, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003429/1.207, allocations: 1.492 MB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001311/1.209, allocations: 0.6395 MB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/1.209, allocations: 0 / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/1.209, allocations: 5.344 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/1.209, allocations: 10.31 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000728/1.209, allocations: 171.1 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/1.21, allocations: 54.09 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/1.21, allocations: 3.047 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.39e-05/1.21, allocations: 21.34 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/1.21, allocations: 33.48 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/1.21, allocations: 4.625 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/1.211, allocations: 344.1 kB / 1.282 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/1.211, allocations: 16.59 kB / 1.282 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/1.211, allocations: 26.42 kB / 1.282 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/1.211, allocations: 178.6 kB / 1.282 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.211, allocations: 4.641 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/1.211, allocations: 0.5 kB / 1.282 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.081e-06/1.211, allocations: 0 / 1.282 GB, free: 9.945 MB / 0.9981 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.0008045/1.212, allocations: 402.8 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.212, allocations: 8.562 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.193e-05/1.212, allocations: 6.875 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/1.212, allocations: 38.06 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/1.212, allocations: 8.766 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/1.212, allocations: 164.2 kB / 1.282 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/1.212, allocations: 10.56 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/1.212, allocations: 9.75 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/1.213, allocations: 83.83 kB / 1.283 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/1.213, allocations: 3.953 kB / 1.283 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/1.213, allocations: 9.281 kB / 1.283 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.213, allocations: 1.094 kB / 1.283 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/1.213, allocations: 51.98 kB / 1.283 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/1.214, allocations: 325.3 kB / 1.283 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/1.214, allocations: 78.3 kB / 1.283 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/1.214, allocations: 31.84 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/1.214, allocations: 1.062 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.214, allocations: 32.34 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.214, allocations: 0 / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001872/1.216, allocations: 0.6496 MB / 1.284 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.216, allocations: 56.69 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/1.216, allocations: 104.6 kB / 1.284 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/1.216, allocations: 31.08 kB / 1.284 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/1.216, allocations: 87.61 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/1.216, allocations: 36.52 kB / 1.284 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/1.216, allocations: 27.72 kB / 1.284 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.216, allocations: 319.6 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/1.217, allocations: 31.7 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.217, allocations: 29.11 kB / 1.284 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/1.217, allocations: 75.66 kB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/1.217, allocations: 0 / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003657/1.217, allocations: 125.3 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/1.217, allocations: 5.422 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.217, allocations: 1.219 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/1.217, allocations: 0 / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.218, allocations: 26.38 kB / 1.285 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.218, allocations: 7.938 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.013e-05/1.218, allocations: 5.844 kB / 1.285 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/1.218, allocations: 7.172 kB / 1.285 GB, free: 7.516 MB / 0.9981 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.0001132/1.218, allocations: 117.9 kB / 1.285 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/1.218, allocations: 7.297 kB / 1.285 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/1.218, allocations: 129.7 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.218, allocations: 1.594 kB / 1.285 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.218, allocations: 11.94 kB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.218, allocations: 2.141 kB / 1.285 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/1.219, allocations: 383 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.219, allocations: 0 / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/1.219, allocations: 24.78 kB / 1.285 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.219, allocations: 5.953 kB / 1.285 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/1.219, allocations: 5.969 kB / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/1.219, allocations: 0 / 1.285 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.219, allocations: 5.312 kB / 1.285 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/1.22, allocations: 247.3 kB / 1.286 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-05/1.22, allocations: 88.69 kB / 1.286 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/1.22, allocations: 4.688 kB / 1.286 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/1.22, allocations: 7.312 kB / 1.286 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/1.22, allocations: 18.56 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.22, allocations: 3.531 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.067e-05/1.22, allocations: 79.97 kB / 1.286 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.22, allocations: 0 / 1.286 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003584/1.22, allocations: 43.5 kB / 1.286 GB, free: 6.586 MB / 0.9981 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.001072/1.222, allocations: 0.8144 MB / 1.287 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003768/1.222, allocations: 82.36 kB / 1.287 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/1.222, allocations: 0 / 1.287 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/1.222, allocations: 44.08 kB / 1.287 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/1.222, allocations: 10.61 kB / 1.287 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/1.225, allocations: 1.607 MB / 1.288 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/1.225, allocations: 0.6949 MB / 1.289 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.109e-05/1.225, allocations: 14.08 kB / 1.289 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.844e-05/1.225, allocations: 24.2 kB / 1.289 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.225, allocations: 0 / 1.289 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/1.249, allocations: 2.405 MB / 1.291 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.859/10.11, allocations: 4.25 kB / 1.291 GB, free: 3.316 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.517095303046517] Failed to read output from testmodel.py, exit status != 0: 10.23158083303133 10.249598759 9.033983436 Calling exit ...