Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001539/0.001539, allocations: 107.6 kB / 16.4 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.001731/0.001731, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.458/1.458, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.768/2.768, allocations: 469.8 MB / 0.7491 GB, free: 2.996 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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.073 GB, free: 80 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8892/0.8911, allocations: 159.1 MB / 1.229 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002762/0.894, allocations: 1.469 MB / 1.23 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.8951, allocations: 0.6306 MB / 1.231 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.8952, allocations: 0 / 1.231 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.8952, allocations: 7.938 kB / 1.231 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.8953, allocations: 7.938 kB / 1.231 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005777/0.8959, allocations: 174.6 kB / 1.231 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.896, allocations: 43.91 kB / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.896, allocations: 4 kB / 1.231 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.275e-05/0.8961, allocations: 27.91 kB / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.263e-05/0.8962, allocations: 31.91 kB / 1.231 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.8962, allocations: 4 kB / 1.231 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005412/0.8967, allocations: 347.3 kB / 1.231 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.8968, allocations: 7.984 kB / 1.231 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.682e-05/0.8968, allocations: 27.86 kB / 1.231 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.8971, allocations: 177.5 kB / 1.232 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8971, allocations: 4 kB / 1.232 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8971, allocations: 0 / 1.232 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.8971, allocations: 0 / 1.232 GB, free: 1.953 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006556/0.8978, allocations: 410.9 kB / 1.232 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8979, allocations: 8.625 kB / 1.232 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.8979, allocations: 38.75 kB / 1.232 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.898, allocations: 0.9375 kB / 1.232 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.8981, allocations: 184.2 kB / 1.232 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.8982, allocations: 4.375 kB / 1.232 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.8982, allocations: 8.375 kB / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.8985, allocations: 78.22 kB / 1.232 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.8985, allocations: 3.938 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.8985, allocations: 4 kB / 1.232 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.8985, allocations: 4 kB / 1.232 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.8988, allocations: 51.95 kB / 1.232 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.8994, allocations: 328.6 kB / 1.233 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.8997, allocations: 78.53 kB / 1.233 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.8998, allocations: 32.84 kB / 1.233 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.8999, allocations: 11.86 kB / 1.233 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.8999, allocations: 30.56 kB / 1.233 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.8999, allocations: 0 / 1.233 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001819/0.9017, allocations: 0.6422 MB / 1.233 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.9018, allocations: 51.41 kB / 1.233 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.9019, allocations: 109.8 kB / 1.234 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.9019, allocations: 25.7 kB / 1.234 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.902, allocations: 97.08 kB / 1.234 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.902, allocations: 43.64 kB / 1.234 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.9021, allocations: 25.72 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.9023, allocations: 318.8 kB / 1.234 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.9024, allocations: 27.98 kB / 1.234 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.9025, allocations: 39.97 kB / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.9028, allocations: 76.52 kB / 1.234 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.9028, allocations: 0 / 1.234 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003425/0.9032, allocations: 121.7 kB / 1.234 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.9032, allocations: 4 kB / 1.234 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.9032, allocations: 0 / 1.234 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9032, allocations: 0 / 1.234 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.9034, allocations: 27.98 kB / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.9034, allocations: 7.938 kB / 1.234 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.486e-05/0.9035, allocations: 3.984 kB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.9035, allocations: 8 kB / 1.234 GB, free: 14.77 MB / 0.9512 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.0001055/0.9036, allocations: 119.1 kB / 1.234 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.9037, allocations: 4 kB / 1.234 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.9041, allocations: 134 kB / 1.235 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9041, allocations: 8 kB / 1.235 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.9041, allocations: 7.922 kB / 1.235 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9041, allocations: 0 / 1.235 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.9048, allocations: 382.4 kB / 1.235 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9048, allocations: 0 / 1.235 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.9049, allocations: 27.98 kB / 1.235 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.905, allocations: 3.938 kB / 1.235 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.905, allocations: 4 kB / 1.235 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.905, allocations: 4 kB / 1.235 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.905, allocations: 0 / 1.235 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.9056, allocations: 255.6 kB / 1.235 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.9056, allocations: 77.11 kB / 1.235 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.9057, allocations: 7.938 kB / 1.235 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9058, allocations: 11.98 kB / 1.235 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.9058, allocations: 12.05 kB / 1.235 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.9058, allocations: 8 kB / 1.235 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.9059, allocations: 79.28 kB / 1.235 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9059, allocations: 0 / 1.235 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003055/0.9062, allocations: 39.81 kB / 1.235 GB, free: 13.5 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.001014/0.9072, allocations: 0.822 MB / 1.236 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.9076, allocations: 79.95 kB / 1.236 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9076, allocations: 3.938 kB / 1.236 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.9078, allocations: 47.91 kB / 1.236 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.9082, allocations: 10.19 kB / 1.236 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.9106, allocations: 1.602 MB / 1.238 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.911, allocations: 0.6968 MB / 1.239 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.578e-05/0.9111, allocations: 16.59 kB / 1.239 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.9111, allocations: 19.44 kB / 1.239 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.9111, allocations: 0 / 1.239 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.936, allocations: 2.34 MB / 1.241 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.516/9.452, allocations: 11.19 kB / 1.241 GB, free: 7.91 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.417595384875312] Failed to read output from testmodel.py, exit status != 0: 9.523690710077062 9.545503494 8.644586812 Calling exit ...