Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001815/0.001816, allocations: 109.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.749 GB, free: 3 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 1.073 GB, free: 104 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.8804, allocations: 159.1 MB / 1.229 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002292/0.8828, allocations: 1.273 MB / 1.23 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.8838, allocations: 0.6149 MB / 1.23 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.8838, allocations: 0 / 1.23 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.8839, allocations: 0 / 1.23 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.8839, allocations: 7.938 kB / 1.23 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.8844, allocations: 154.9 kB / 1.231 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.8845, allocations: 11.94 kB / 1.231 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.8845, allocations: 8 kB / 1.231 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.8846, allocations: 11.92 kB / 1.231 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.8846, allocations: 7.984 kB / 1.231 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.8847, allocations: 0 / 1.231 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00052/0.8852, allocations: 343.3 kB / 1.231 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.8852, allocations: 8 kB / 1.231 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.8852, allocations: 11.92 kB / 1.231 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8855, allocations: 149.6 kB / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8855, allocations: 0 / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8855, allocations: 3.938 kB / 1.231 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8855, allocations: 0 / 1.231 GB, free: 2.336 MB / 0.9356 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.00043/0.886, allocations: 359.1 kB / 1.232 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.886, allocations: 16.61 kB / 1.232 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.8861, allocations: 30.75 kB / 1.232 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.8861, allocations: 4.938 kB / 1.232 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.8862, allocations: 172.3 kB / 1.232 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.8862, allocations: 384 / 1.232 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.8863, allocations: 384 / 1.232 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.8864, allocations: 46.19 kB / 1.232 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8864, allocations: 3.938 kB / 1.232 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.8864, allocations: 0 / 1.232 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.8864, allocations: 0 / 1.232 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.933e-05/0.8864, allocations: 15.92 kB / 1.232 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.8866, allocations: 165.7 kB / 1.232 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.8868, allocations: 46.56 kB / 1.232 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.8869, allocations: 12.86 kB / 1.232 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.8869, allocations: 4 kB / 1.232 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.8869, allocations: 34.56 kB / 1.232 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.8869, allocations: 0 / 1.232 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0006191/0.8875, allocations: 318.4 kB / 1.232 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.8876, allocations: 55.41 kB / 1.232 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.8877, allocations: 93.86 kB / 1.232 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.8877, allocations: 29.7 kB / 1.233 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.8877, allocations: 80.14 kB / 1.233 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.8878, allocations: 23.78 kB / 1.233 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.8878, allocations: 21.72 kB / 1.233 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8879, allocations: 318.8 kB / 1.233 GB, free: 256 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/0.888, allocations: 12 kB / 1.233 GB, free: 244 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.129e-05/0.888, allocations: 8 kB / 1.233 GB, free: 236 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.823e-05/0.8881, allocations: 33 kB / 1.233 GB, free: 200 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.8881, allocations: 0 / 1.233 GB, free: 200 kB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001081/0.8882, allocations: 77.52 kB / 1.233 GB, free: 116 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8882, allocations: 4 kB / 1.233 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.8882, allocations: 0 / 1.233 GB, free: 112 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.8882, allocations: 7.984 kB / 1.233 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.8883, allocations: 8 kB / 1.233 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.8883, allocations: 4 kB / 1.233 GB, free: 92 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.8883, allocations: 3.938 kB / 1.233 GB, free: 88 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.8883, allocations: 4 kB / 1.233 GB, free: 84 kB / 0.9356 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.489e-05/0.8884, allocations: 113 kB / 1.233 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.8885, allocations: 7.938 kB / 1.233 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.8886, allocations: 73.58 kB / 1.233 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8886, allocations: 0 / 1.233 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.8886, allocations: 0 / 1.233 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8886, allocations: 3.938 kB / 1.233 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.889, allocations: 331.4 kB / 1.234 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.889, allocations: 0 / 1.234 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.8891, allocations: 11.98 kB / 1.234 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.8891, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.8891, allocations: 4 kB / 1.234 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8891, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8891, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.8893, allocations: 188.3 kB / 1.234 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.8893, allocations: 81.05 kB / 1.234 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.8894, allocations: 0 / 1.234 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.8894, allocations: 4 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.012e-05/0.8895, allocations: 7.984 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.8895, allocations: 4 kB / 1.234 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.8895, allocations: 79.28 kB / 1.234 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8895, allocations: 0 / 1.234 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002418/0.8898, allocations: 24 kB / 1.234 GB, free: 15.05 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0005365/0.8903, allocations: 0.737 MB / 1.235 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.8904, allocations: 31.98 kB / 1.235 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.8904, allocations: 64 / 1.235 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.944e-05/0.8905, allocations: 23.94 kB / 1.235 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.8907, allocations: 7.984 kB / 1.235 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.892, allocations: 1.327 MB / 1.236 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.8923, allocations: 0.6807 MB / 1.237 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.8923, allocations: 8.203 kB / 1.237 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.8923, allocations: 11.44 kB / 1.237 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.8923, allocations: 3.938 kB / 1.237 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.9163, allocations: 1.615 MB / 1.238 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/9.121, allocations: 9.391 kB / 1.238 GB, free: 10.64 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.051670874003321] Failed to read output from testmodel.py, exit status != 0: 9.186528351856396 9.205255156 8.31585087 Calling exit ...