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.0009263/0.0009263, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009891/0.0009891, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8589/0.8589, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.59/1.59, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.085e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001607/0.001628, allocations: 1.303 MB / 0.9518 GB, free: 2.164 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007505/0.002379, allocations: 0.5376 MB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.002407, allocations: 4 kB / 0.9523 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.002427, allocations: 7.938 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.552e-05/0.002462, allocations: 7.922 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.002887, allocations: 145.7 kB / 0.9525 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.133e-05/0.002948, allocations: 23.91 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.002989, allocations: 4 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.894e-05/0.003038, allocations: 15.92 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.117e-05/0.003079, allocations: 4 kB / 0.9525 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.003093, allocations: 8 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.003349, allocations: 267.4 kB / 0.9528 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.003363, allocations: 3.984 kB / 0.9528 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.675e-05/0.00338, allocations: 4 kB / 0.9528 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.003567, allocations: 163.5 kB / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.00357, allocations: 0 / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003571, allocations: 0 / 0.9529 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.003575, allocations: 0 / 0.9529 GB, free: 0.9805 MB / 0.9011 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.0003197/0.003895, allocations: 289.9 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.003931, allocations: 8.031 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.003963, allocations: 34.75 kB / 0.9532 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.003988, allocations: 4.938 kB / 0.9533 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.015e-05/0.004058, allocations: 121.7 kB / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.004067, allocations: 384 / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.004085, allocations: 4.375 kB / 0.9534 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.972e-05/0.004185, allocations: 67.95 kB / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004191, allocations: 192 / 0.9534 GB, free: 392 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.004198, allocations: 4.312 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.004204, allocations: 4.125 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/0.004236, allocations: 8 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.004353, allocations: 124.8 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.004513, allocations: 50.56 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.004538, allocations: 16.8 kB / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.004554, allocations: 0 / 0.9536 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.004571, allocations: 38.5 kB / 0.9537 GB, free: 80 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004572, allocations: 0 / 0.9537 GB, free: 80 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0004855/0.005058, allocations: 237.2 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.005082, allocations: 55.41 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.373e-05/0.005125, allocations: 93.86 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.005135, allocations: 29.7 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.005158, allocations: 80.14 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.005181, allocations: 27.83 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.005208, allocations: 17.72 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.005276, allocations: 318.8 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.005295, allocations: 12 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.396e-05/0.005309, allocations: 8.062 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.005352, allocations: 40.84 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.005353, allocations: 0 / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.472e-05/0.005417, allocations: 65.59 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.005429, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.005434, allocations: 3.984 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.005447, allocations: 8.453 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.005485, allocations: 12 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005489, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.187e-05/0.005501, allocations: 4 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.005505, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 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 4.932e-05/0.005555, allocations: 109.8 kB / 0.9547 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.005562, allocations: 4 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.005666, allocations: 81.67 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.00567, allocations: 7.922 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005674, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005676, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.005915, allocations: 282.5 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.005918, allocations: 7.938 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.00596, allocations: 8 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.005961, allocations: 0 / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.005969, allocations: 4 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00597, allocations: 0 / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.005971, allocations: 3.938 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.006096, allocations: 184.3 kB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.006112, allocations: 8.109 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.006125, allocations: 8.125 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/0.006167, allocations: 8 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.00618, allocations: 4 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.006184, allocations: 0 / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.192e-05/0.006206, allocations: 83.27 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006206, allocations: 0 / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001685/0.006375, allocations: 27.88 kB / 0.9554 GB, free: 14.08 MB / 0.9167 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.0003375/0.006712, allocations: 0.7327 MB / 0.9562 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.991e-05/0.006802, allocations: 31.98 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.006804, allocations: 4.062 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.00682, allocations: 11.94 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.006979, allocations: 10.66 kB / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/0.007804, allocations: 1.306 MB / 0.9575 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.044e-05/0.007845, allocations: 67.41 kB / 0.9576 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.007873, allocations: 16 kB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.007903, allocations: 12.48 kB / 0.9576 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of SimCode: time 6.91e-07/0.007904, allocations: 0 / 0.9576 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.02539, allocations: 2.257 MB / 0.9598 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.963/6.988, allocations: 10.45 kB / 0.9598 GB, free: 9.699 MB / 0.9167 GB " [Timeout remaining time 293] (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: 10.776748436503112] Failed to read output from testmodel.py, exit status != 0: 7.069634425453842 7.080224472 7.074584429 Calling exit ...