Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.001001/0.001001, allocations: 112.1 kB / 20.48 MB, free: 4.594 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.001036/0.001036, allocations: 229.5 kB / 23.78 MB, free: 2.09 MB / 13.93 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.997/0.997, allocations: 230.6 MB / 257.5 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.009/2.009, allocations: 0.505 GB / 0.8116 GB, free: 2.355 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 79.89 kB / 1.178 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7302/0.7316, allocations: 180.1 MB / 1.354 GB, free: 1.035 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001726/0.7333, allocations: 1.306 MB / 1.355 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.7342, allocations: 0.5527 MB / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.769e-05/0.7342, allocations: 0 / 1.355 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.7343, allocations: 3.938 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.785e-05/0.7343, allocations: 4 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.7348, allocations: 155.4 kB / 1.356 GB, free: 15.01 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.7348, allocations: 19.92 kB / 1.356 GB, free: 14.99 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.7349, allocations: 4 kB / 1.356 GB, free: 14.98 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.7349, allocations: 11.98 kB / 1.356 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.735, allocations: 7.938 kB / 1.356 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.619e-06/0.735, allocations: 7.938 kB / 1.356 GB, free: 14.96 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002865/0.7352, allocations: 307.5 kB / 1.356 GB, free: 14.66 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.7353, allocations: 8 kB / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.7353, allocations: 11.92 kB / 1.356 GB, free: 14.64 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7355, allocations: 141.3 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7355, allocations: 4 kB / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7355, allocations: 0 / 1.356 GB, free: 14.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.7355, allocations: 0 / 1.356 GB, free: 14.5 MB / 1.042 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.0003495/0.7358, allocations: 286 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.7359, allocations: 11.98 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.7359, allocations: 4.938 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.595e-05/0.736, allocations: 102.5 kB / 1.357 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.736, allocations: 4.375 kB / 1.357 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.736, allocations: 4.375 kB / 1.357 GB, free: 14.04 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.7361, allocations: 71.89 kB / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7361, allocations: 192 / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.7361, allocations: 3.938 kB / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7361, allocations: 0 / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.351e-05/0.7362, allocations: 15.98 kB / 1.357 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.7363, allocations: 109.2 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.7364, allocations: 42.59 kB / 1.357 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.7365, allocations: 24.88 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.7365, allocations: 4 kB / 1.357 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.7365, allocations: 38.56 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.7365, allocations: 0 / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0004674/0.737, allocations: 229.1 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.737, allocations: 51.41 kB / 1.357 GB, free: 13.35 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.7371, allocations: 101.8 kB / 1.357 GB, free: 13.24 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.7371, allocations: 29.7 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.7371, allocations: 84.08 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.7371, allocations: 19.8 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.7371, allocations: 25.7 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.7372, allocations: 314.8 kB / 1.358 GB, free: 12.75 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.7372, allocations: 12 kB / 1.358 GB, free: 12.74 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.709e-05/0.7372, allocations: 15.98 kB / 1.358 GB, free: 12.72 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.7373, allocations: 36.78 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.7373, allocations: 0 / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.917e-05/0.7374, allocations: 61.69 kB / 1.358 GB, free: 12.62 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.7374, allocations: 8 kB / 1.358 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7374, allocations: 3.938 kB / 1.358 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7374, allocations: 0 / 1.358 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.784e-05/0.7374, allocations: 11.98 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.7374, allocations: 0 / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.07e-05/0.7375, allocations: 11.94 kB / 1.358 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.7375, allocations: 4 kB / 1.358 GB, free: 12.58 MB / 1.042 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.271e-05/0.7375, allocations: 113.8 kB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-06/0.7375, allocations: 3.953 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.7376, allocations: 73.69 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7376, allocations: 7.984 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7376, allocations: 0 / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7376, allocations: 0 / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.7378, allocations: 251.1 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7378, allocations: 3.938 kB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.79e-05/0.7379, allocations: 24.02 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7379, allocations: 0 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.7379, allocations: 0 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.7379, allocations: 0 / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.7379, allocations: 4.234 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.738, allocations: 176.5 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.738, allocations: 15.91 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-06/0.738, allocations: 0 / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.7381, allocations: 4 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.7381, allocations: 8.5 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.7381, allocations: 4 kB / 1.358 GB, free: 11.82 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.039e-05/0.7381, allocations: 79.34 kB / 1.359 GB, free: 11.75 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7381, allocations: 3.938 kB / 1.359 GB, free: 11.74 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001637/0.7383, allocations: 31.88 kB / 1.359 GB, free: 11.71 MB / 1.042 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.0001674/0.7384, allocations: 139.2 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.7385, allocations: 35.91 kB / 1.359 GB, free: 11.53 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.7385, allocations: 4 kB / 1.359 GB, free: 11.53 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.7386, allocations: 11.94 kB / 1.359 GB, free: 11.52 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.7387, allocations: 11.94 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.7391, allocations: 214.1 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.7391, allocations: 67.34 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.7391, allocations: 11.38 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of SimCode: time 4.21e-07/0.7391, allocations: 8 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of Templates: time 0.002076/0.7412, allocations: 0.9379 MB / 1.36 GB, free: 10.23 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.959437383338809]