Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001823/0.001823, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00227/0.00227, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.404/3.404, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00219/0.00219, allocations: 60.66 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4104, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003621/0.4141, allocations: 1.511 MB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4155, allocations: 0.6305 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.4156, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.4156, allocations: 3.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.4157, allocations: 15.84 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009338/0.4166, allocations: 155.4 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.4168, allocations: 43.91 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.4168, allocations: 7.984 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.4169, allocations: 23.94 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.417, allocations: 31.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.417, allocations: 7.984 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006785/0.4177, allocations: 339.3 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.4177, allocations: 15.97 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.4178, allocations: 23.86 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.4182, allocations: 179.6 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4182, allocations: 4 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4182, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.4182, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 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.0008349/0.4191, allocations: 325.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.4191, allocations: 12.03 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.005e-05/0.4192, allocations: 30.75 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.4192, allocations: 8.891 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.4194, allocations: 122.4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.4194, allocations: 8.375 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.4195, allocations: 12.33 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.4198, allocations: 78.2 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.4198, allocations: 3.938 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4198, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.4198, allocations: 4 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.4201, allocations: 51.95 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.4208, allocations: 291.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.4211, allocations: 78.52 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.4212, allocations: 28.83 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4212, allocations: 3.938 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.4212, allocations: 42.56 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.4212, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001821/0.4231, allocations: 0.4957 MB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4231, allocations: 51.41 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4232, allocations: 101.8 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.4233, allocations: 29.69 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.421e-05/0.4234, allocations: 96.09 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.4234, allocations: 35.69 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.4235, allocations: 29.84 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4236, allocations: 322.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.4238, allocations: 27.98 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4239, allocations: 38.59 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.4242, allocations: 76.77 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4242, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003624/0.4245, allocations: 117.6 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4245, allocations: 4.094 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4246, allocations: 7.938 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4246, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.4247, allocations: 23.98 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4247, allocations: 7.922 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.874e-05/0.4248, allocations: 4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4248, allocations: 8 kB / 1.331 GB, free: 12.18 MB / 1.029 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.0001276/0.4249, allocations: 126.3 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.425, allocations: 8.078 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.4254, allocations: 133.6 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4254, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.4254, allocations: 3.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4254, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.4261, allocations: 361.5 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4261, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.4263, allocations: 23.98 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.4263, allocations: 3.938 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4263, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4263, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4263, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.4269, allocations: 259.6 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.4269, allocations: 7.984 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.4269, allocations: 7.938 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.427, allocations: 7.984 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.4271, allocations: 7.984 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.4271, allocations: 8 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.4271, allocations: 75.28 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4271, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000342/0.4275, allocations: 39.92 kB / 1.332 GB, free: 11.03 MB / 1.029 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.001056/0.4285, allocations: 0.8136 MB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.4289, allocations: 87.94 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4289, allocations: 7.938 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.429, allocations: 35.98 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.4294, allocations: 13.55 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.4319, allocations: 1.599 MB / 1.335 GB, free: 8.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.4322, allocations: 0.6924 MB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.255e-05/0.4323, allocations: 12.66 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.4324, allocations: 31.36 kB / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.4324, allocations: 0 / 1.336 GB, free: 7.617 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.4672, allocations: 2.456 MB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.57, allocations: 8.312 kB / 1.338 GB, free: 5.336 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.58909109700471] Failed to read output from testmodel.py, exit status != 0: 12.67734440183267 12.69749689 12.275303616 Calling exit ...