Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001068/0.001068, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001484/0.002552, allocations: 443.8 kB / 10.3 MB, free: 400 kB / 10.45 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.001078/0.001078, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002419, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.8793/0.8793, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08524/0.9645, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.245/2.245, allocations: 440.5 MB / 0.6683 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2346/2.48, allocations: 143.9 MB / 0.8089 GB, free: 12.39 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_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="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.541e-05, allocations: 6.312 kB / 0.8102 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001401/0.001417, allocations: 1.407 MB / 0.8115 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0005603/0.001977, allocations: 0.5974 MB / 0.8121 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.533e-05/0.001992, allocations: 0 / 0.8121 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.745e-06/0.002, allocations: 3.938 kB / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.779e-05/0.002018, allocations: 0 / 0.8121 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.002287, allocations: 151.2 kB / 0.8123 GB, free: 8.898 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.863e-05/0.002335, allocations: 19.94 kB / 0.8123 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.002368, allocations: 0 / 0.8123 GB, free: 8.879 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.002424, allocations: 19.97 kB / 0.8123 GB, free: 8.859 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.002467, allocations: 15.92 kB / 0.8123 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.002476, allocations: 0 / 0.8123 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.002789, allocations: 327.3 kB / 0.8126 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.002798, allocations: 0 / 0.8126 GB, free: 8.523 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.00281, allocations: 4 kB / 0.8126 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.002979, allocations: 135.6 kB / 0.8128 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.002988, allocations: 0 / 0.8128 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002988, allocations: 0 / 0.8128 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.002997, allocations: 0 / 0.8128 GB, free: 8.387 MB / 0.7917 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.0003043/0.003301, allocations: 280.2 kB / 0.813 GB, free: 8.086 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.003328, allocations: 12.62 kB / 0.8131 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.003352, allocations: 4.938 kB / 0.8131 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.584e-05/0.003418, allocations: 109.7 kB / 0.8132 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.003427, allocations: 4.375 kB / 0.8132 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.003446, allocations: 12.36 kB / 0.8132 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.134e-05/0.003518, allocations: 63.89 kB / 0.8132 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-06/0.003523, allocations: 192 / 0.8132 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.003527, allocations: 384 / 0.8132 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.003531, allocations: 384 / 0.8132 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.00355, allocations: 11.92 kB / 0.8132 GB, free: 7.836 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.723e-05/0.003628, allocations: 72.98 kB / 0.8133 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.003742, allocations: 34.61 kB / 0.8134 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.003761, allocations: 12.86 kB / 0.8134 GB, free: 7.691 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.003775, allocations: 3.938 kB / 0.8134 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.003793, allocations: 34.56 kB / 0.8134 GB, free: 7.645 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.003794, allocations: 4 kB / 0.8134 GB, free: 7.641 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0003964/0.00419, allocations: 217.3 kB / 0.8136 GB, free: 7.395 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.004213, allocations: 51.41 kB / 0.8137 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.004502, allocations: 110.7 kB / 0.8138 GB, free: 7.211 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.004511, allocations: 33.7 kB / 0.8138 GB, free: 7.172 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.004529, allocations: 80.14 kB / 0.8139 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.004552, allocations: 23.73 kB / 0.8139 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.004583, allocations: 25.69 kB / 0.8139 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.004644, allocations: 318.8 kB / 0.8142 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-06/0.004652, allocations: 4 kB / 0.8142 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.004662, allocations: 11.92 kB / 0.8142 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.00469, allocations: 24.98 kB / 0.8143 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.00469, allocations: 0 / 0.8143 GB, free: 6.672 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 4.508e-05/0.004735, allocations: 49.67 kB / 0.8143 GB, free: 6.617 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.004746, allocations: 12 kB / 0.8143 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.004749, allocations: 0 / 0.8143 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.004756, allocations: 0.5156 kB / 0.8143 GB, free: 6.605 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.631e-05/0.004793, allocations: 16 kB / 0.8143 GB, free: 6.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.004795, allocations: 3.938 kB / 0.8143 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.004805, allocations: 3.938 kB / 0.8143 GB, free: 6.582 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.004808, allocations: 0 / 0.8143 GB, free: 6.582 MB / 0.7917 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.139e-05/0.004849, allocations: 113.8 kB / 0.8145 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.004856, allocations: 4 kB / 0.8145 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.004925, allocations: 57.77 kB / 0.8145 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.004927, allocations: 3.984 kB / 0.8145 GB, free: 6.391 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.004929, allocations: 7.984 kB / 0.8145 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.004932, allocations: 0 / 0.8145 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.005077, allocations: 215.6 kB / 0.8147 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005079, allocations: 192 / 0.8147 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.005114, allocations: 16 kB / 0.8147 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.005115, allocations: 0 / 0.8147 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005121, allocations: 4 kB / 0.8148 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005122, allocations: 0 / 0.8148 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.005124, allocations: 3.938 kB / 0.8148 GB, free: 6.121 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.062e-05/0.005214, allocations: 160.3 kB / 0.8149 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.005227, allocations: 12.05 kB / 0.8149 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.005235, allocations: 4 kB / 0.8149 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.005267, allocations: 0 / 0.8149 GB, free: 5.93 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.005278, allocations: 11.92 kB / 0.8149 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.005282, allocations: 0 / 0.8149 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.345e-06/0.00529, allocations: 12.84 kB / 0.8149 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.00529, allocations: 0 / 0.8149 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001426/0.005433, allocations: 43.75 kB / 0.815 GB, free: 5.859 MB / 0.7917 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.0001404/0.005573, allocations: 128.1 kB / 0.8151 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 5.683e-05/0.00563, allocations: 40.83 kB / 0.8151 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.005633, allocations: 0 / 0.8151 GB, free: 5.68 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.005648, allocations: 20.78 kB / 0.8152 GB, free: 5.656 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.00575, allocations: 4.812 kB / 0.8152 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.006133, allocations: 207.4 kB / 0.8154 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.006168, allocations: 67.34 kB / 0.8154 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.006202, allocations: 51.38 kB / 0.8155 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of SimCode: time 5.71e-07/0.006202, allocations: 4 kB / 0.8155 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of Templates: time 0.001463/0.007666, allocations: 1.033 MB / 0.8165 GB, free: 4.246 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.4417073875665665]