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.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.0008269/0.0008269, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008215/0.0008215, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9498/0.9498, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.693/1.693, allocations: 359 MB / 0.6037 GB, free: 11.07 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_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 1.783e-06/1.783e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.625e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002006/0.002032, allocations: 1.295 MB / 0.9518 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007968/0.002829, allocations: 0.5454 MB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.002857, allocations: 0 / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.002875, allocations: 0 / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.002916, allocations: 3.938 kB / 0.9523 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.003426, allocations: 153 kB / 0.9524 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.003498, allocations: 23.86 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.00354, allocations: 4 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/0.00359, allocations: 7.984 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.003635, allocations: 7.984 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.003649, allocations: 3.938 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.003951, allocations: 271.4 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.003966, allocations: 4 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.003987, allocations: 11.98 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004186, allocations: 155.5 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.004189, allocations: 0 / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.463e-06/0.00419, allocations: 0 / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.004194, allocations: 0 / 0.9529 GB, free: 0.9766 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.0003759/0.00457, allocations: 289.9 kB / 0.9532 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.004611, allocations: 12.03 kB / 0.9532 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.151e-05/0.004643, allocations: 34.75 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.004668, allocations: 0.9375 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.691e-05/0.004745, allocations: 117.6 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.004755, allocations: 384 / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.004778, allocations: 12.36 kB / 0.9534 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.004895, allocations: 63.95 kB / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.004903, allocations: 192 / 0.9534 GB, free: 388 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004913, allocations: 4.375 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.00492, allocations: 4.125 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.001e-05/0.00496, allocations: 15.92 kB / 0.9534 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.005104, allocations: 124.8 kB / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.005294, allocations: 38.61 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.005323, allocations: 20.94 kB / 0.9536 GB, free: 124 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.005342, allocations: 4 kB / 0.9536 GB, free: 120 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.005365, allocations: 34.56 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.005366, allocations: 0 / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of matching and sorting (n=6): time 0.0005564/0.005922, allocations: 233.1 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.005952, allocations: 55.34 kB / 0.9539 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.305e-05/0.006005, allocations: 101.8 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.006016, allocations: 25.7 kB / 0.954 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.006044, allocations: 84.14 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.006069, allocations: 15.86 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.006102, allocations: 25.7 kB / 0.9542 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.006183, allocations: 318.8 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006201, allocations: 4 kB / 0.9545 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.892e-05/0.00622, allocations: 19.97 kB / 0.9545 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.651e-05/0.006267, allocations: 37 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006268, allocations: 0 / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.448e-05/0.006342, allocations: 69.58 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006355, allocations: 6.5 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.00636, allocations: 0 / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.006374, allocations: 3.938 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.184e-05/0.006415, allocations: 15.98 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.006421, allocations: 0 / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.006431, allocations: 4 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.006438, allocations: 8 kB / 0.9546 GB, free: 14.98 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 5.5e-05/0.006493, allocations: 105.8 kB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-06/0.006501, allocations: 4.516 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.006612, allocations: 77.69 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.006616, allocations: 7.922 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.006623, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.006626, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.006869, allocations: 282.5 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.006871, allocations: 3.938 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.00691, allocations: 19.95 kB / 0.9551 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006912, allocations: 4.188 kB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.006919, allocations: 4 kB / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00692, allocations: 0 / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006921, allocations: 0 / 0.9551 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.007053, allocations: 180.3 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.007069, allocations: 7.969 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.00708, allocations: 0 / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.007122, allocations: 4 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.007139, allocations: 11.92 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.007144, allocations: 4.062 kB / 0.9553 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.007175, allocations: 79.28 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007175, allocations: 0 / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001688/0.007344, allocations: 23.88 kB / 0.9554 GB, free: 14.09 MB / 0.9167 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.0003289/0.007673, allocations: 0.7395 MB / 0.9561 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.362e-05/0.007757, allocations: 31.92 kB / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007759, allocations: 0 / 0.9562 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.007778, allocations: 23.92 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.0001549/0.007932, allocations: 0 / 0.9562 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.008761, allocations: 1.302 MB / 0.9575 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.008804, allocations: 63.34 kB / 0.9575 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.008828, allocations: 16.27 kB / 0.9575 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.008859, allocations: 16.64 kB / 0.9576 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.008859, allocations: 3.938 kB / 0.9576 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/0.02432, allocations: 2.25 MB / 0.9598 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.481/6.506, allocations: 4.062 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_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: 10.684593287296593] Failed to read output from testmodel.py, exit status != 0: 6.58576450869441 6.594549197 6.588536052 Calling exit ...