Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.001825/0.001825, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.00226/0.00226, allocations: 219.2 kB / 22.26 MB, free: 5.211 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 8.02 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.802/2.802, allocations: 476.8 MB / 0.7707 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 177] 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_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",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.00202/0.00202, allocations: 65 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 170 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002742/0.33, allocations: 1.314 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3312, allocations: 0.6246 MB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.705e-05/0.3313, allocations: 0 / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.3313, allocations: 0 / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.3313, allocations: 7.875 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.332, allocations: 155 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.46e-05/0.3321, allocations: 19.92 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.3321, allocations: 8 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.092e-05/0.3322, allocations: 4 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.3322, allocations: 15.92 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.3323, allocations: 0 / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.3328, allocations: 339.3 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.3328, allocations: 8 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.3328, allocations: 11.92 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.3331, allocations: 147.1 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3332, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3332, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3332, allocations: 0 / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004421/0.3336, allocations: 293.9 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3336, allocations: 12.03 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.3337, allocations: 34.75 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.3337, allocations: 0.9375 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3338, allocations: 106.5 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3338, allocations: 4.312 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3339, allocations: 4.375 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.334, allocations: 38.25 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.334, allocations: 7.938 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.334, allocations: 0 / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.334, allocations: 4 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.334, allocations: 11.98 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.3342, allocations: 128.8 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3344, allocations: 46.5 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.3345, allocations: 12.86 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.3345, allocations: 8 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.3345, allocations: 30.56 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3345, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0006623/0.3352, allocations: 237.4 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.3352, allocations: 55.41 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.3353, allocations: 101.8 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3353, allocations: 29.7 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.3354, allocations: 84.14 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.3354, allocations: 23.83 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.3355, allocations: 25.72 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3356, allocations: 314.8 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.3356, allocations: 11.98 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.32e-05/0.3357, allocations: 15.92 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.3357, allocations: 32.92 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3357, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001059/0.3358, allocations: 69.62 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3358, allocations: 4 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3359, allocations: 0 / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3359, allocations: 4 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.336e-05/0.3359, allocations: 11.98 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3359, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.3359, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.336, allocations: 11.94 kB / 1.288 GB, free: 6.988 MB / 0.9825 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 (7): * Single equations (assignments): 7 * 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.249e-05/0.336, allocations: 105.8 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.3361, allocations: 15.89 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.3362, allocations: 69.73 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3362, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3362, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3362, allocations: 0 / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.3366, allocations: 294.4 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3366, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.3367, allocations: 11.98 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3367, allocations: 4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3367, allocations: 4.031 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3367, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.3367, allocations: 3.938 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3369, allocations: 176.3 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.3369, allocations: 7.938 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3369, allocations: 8.219 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.337, allocations: 4 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.337, allocations: 15.98 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.337, allocations: 3.938 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.3371, allocations: 79.28 kB / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3371, allocations: 0 / 1.288 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002535/0.3373, allocations: 27.88 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0005778/0.3379, allocations: 0.7288 MB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.338, allocations: 35.92 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.338, allocations: 0 / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.338, allocations: 12 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3383, allocations: 7.984 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3396, allocations: 1.323 MB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3399, allocations: 0.6807 MB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.34, allocations: 12.45 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.34, allocations: 7.438 kB / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.34, allocations: 0 / 1.291 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3705, allocations: 1.738 MB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.86, allocations: 9.875 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.437632767949253] Failed to read output from testmodel.py, exit status != 0: 12.497809547930956 11.98889742 11.651349171 Calling exit ...