Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001787/0.001787, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.002124/0.002124, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.527/1.527, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_DerivativeCheck2,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 64.12 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8757, allocations: 160.7 MB / 1.213 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.003076/0.8788, allocations: 1.304 MB / 1.214 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.8802, allocations: 0.6148 MB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.8802, allocations: 1 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.8802, allocations: 3.938 kB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.8803, allocations: 1.062 kB / 1.215 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008287/0.8811, allocations: 160.5 kB / 1.215 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.8812, allocations: 32.36 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.8812, allocations: 2.062 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.909e-05/0.8812, allocations: 10.59 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.8813, allocations: 20.34 kB / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.8813, allocations: 2.156 kB / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.882, allocations: 341.7 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.882, allocations: 10.17 kB / 1.215 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.882, allocations: 13.45 kB / 1.215 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.8824, allocations: 155.9 kB / 1.216 GB, free: 1.953 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.8824, allocations: 4 kB / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8824, allocations: 0 / 1.216 GB, free: 1.949 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.8824, allocations: 5 kB / 1.216 GB, free: 1.945 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005571/0.8829, allocations: 370.2 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.883, allocations: 9.781 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.883, allocations: 36.12 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.8831, allocations: 2.812 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.8832, allocations: 165.8 kB / 1.216 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.8833, allocations: 6.438 kB / 1.216 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.8833, allocations: 6.531 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.8834, allocations: 49.67 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8834, allocations: 3.938 kB / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8834, allocations: 0.9375 kB / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.8835, allocations: 1.125 kB / 1.216 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.605e-05/0.8835, allocations: 23.33 kB / 1.216 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.8838, allocations: 161.3 kB / 1.216 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.884, allocations: 62.34 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.884, allocations: 28.91 kB / 1.216 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.884, allocations: 0.75 kB / 1.216 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.8841, allocations: 32.66 kB / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.8841, allocations: 0 / 1.216 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001382/0.8855, allocations: 0.595 MB / 1.217 GB, free: 392 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.8855, allocations: 56.44 kB / 1.217 GB, free: 324 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.831e-05/0.8856, allocations: 101.1 kB / 1.217 GB, free: 216 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.8856, allocations: 26.8 kB / 1.217 GB, free: 184 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.8857, allocations: 85.19 kB / 1.217 GB, free: 96 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.8857, allocations: 36.27 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.8858, allocations: 29.8 kB / 1.217 GB, free: 36 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.8859, allocations: 316.1 kB / 1.218 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.372e-05/0.886, allocations: 24.98 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.403e-05/0.886, allocations: 24.11 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.8861, allocations: 53.45 kB / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.8861, allocations: 0 / 1.218 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002426/0.8864, allocations: 107.6 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.8864, allocations: 4.625 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8864, allocations: 1.094 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.8864, allocations: 5.156 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.8866, allocations: 21.03 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8866, allocations: 1.094 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.8866, allocations: 5.047 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.8866, allocations: 2.188 kB / 1.218 GB, free: 15.59 MB / 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 (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.000121/0.8867, allocations: 114.7 kB / 1.218 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.8868, allocations: 6.438 kB / 1.218 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002866/0.887, allocations: 115.5 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.8871, allocations: 1.25 kB / 1.218 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8871, allocations: 4 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8871, allocations: 5.359 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00056/0.8876, allocations: 352.1 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8876, allocations: 0 / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.8878, allocations: 17.72 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8878, allocations: 1.094 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.8878, allocations: 5.031 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8878, allocations: 1.094 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.8878, allocations: 4.062 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.8881, allocations: 221.8 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.8882, allocations: 82.27 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.8882, allocations: 1.219 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.8883, allocations: 2.625 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.8884, allocations: 7.297 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.8884, allocations: 10.09 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.8884, allocations: 77.69 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8884, allocations: 4.156 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004516/0.8889, allocations: 39.73 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0008907/0.8898, allocations: 0.7888 MB / 1.22 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.89, allocations: 54.42 kB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.89, allocations: 1.062 kB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.89, allocations: 43.64 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.8904, allocations: 9.016 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.8925, allocations: 1.502 MB / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.8929, allocations: 0.687 MB / 1.222 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.183e-05/0.893, allocations: 13.89 kB / 1.222 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.538e-05/0.893, allocations: 16.94 kB / 1.222 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.893, allocations: 0 / 1.222 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.922, allocations: 2.086 MB / 1.224 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.366/9.288, allocations: 19.5 kB / 1.224 GB, free: 10.68 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.1330690048635] Failed to read output from testmodel.py, exit status != 0: 9.360907108988613 9.385662557 8.498581246 Calling exit ...