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.0009744/0.0009744, allocations: 84.53 kB / 19.93 MB, free: 4.609 MB / 18.57 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.0009867/0.0009867, allocations: 174.3 kB / 23.21 MB, free: 1.328 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.9214/0.9214, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.283/2.283, allocations: 439.8 MB / 0.6834 GB, free: 12.89 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.363e-06/1.363e-06, allocations: 0 / 1.082 GB, free: 24.77 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.307e-05, allocations: 2.281 kB / 1.082 GB, free: 24.77 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001466/0.001489, allocations: 1.336 MB / 1.084 GB, free: 23.84 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0006307/0.002119, allocations: 0.5559 MB / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.571e-05/0.002145, allocations: 0 / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.002162, allocations: 0 / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.002202, allocations: 7.938 kB / 1.084 GB, free: 23.48 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.002603, allocations: 162 kB / 1.084 GB, free: 23.41 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.002674, allocations: 23.02 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.002715, allocations: 10.61 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.962e-05/0.002765, allocations: 8.672 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.061e-05/0.002806, allocations: 2.625 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.002817, allocations: 2.625 kB / 1.084 GB, free: 23.39 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002738/0.003091, allocations: 312.1 kB / 1.085 GB, free: 23.32 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.003106, allocations: 14.7 kB / 1.085 GB, free: 23.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 1.868e-05/0.003125, allocations: 10.78 kB / 1.085 GB, free: 23.3 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.003307, allocations: 158 kB / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003308, allocations: 0 / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.243e-06/0.00331, allocations: 0 / 1.085 GB, free: 23.25 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.003313, allocations: 2.906 kB / 1.085 GB, free: 23.25 MB / 1.01 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.0003015/0.003614, allocations: 284.1 kB / 1.085 GB, free: 22.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.003651, allocations: 11.12 kB / 1.085 GB, free: 22.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.003684, allocations: 4.891 kB / 1.085 GB, free: 22.95 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.505e-05/0.003739, allocations: 104 kB / 1.085 GB, free: 22.83 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.003749, allocations: 4.375 kB / 1.085 GB, free: 22.82 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.003767, allocations: 6.844 kB / 1.085 GB, free: 22.82 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.003864, allocations: 79.14 kB / 1.085 GB, free: 22.75 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003871, allocations: 192 / 1.085 GB, free: 22.75 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.00388, allocations: 384 / 1.085 GB, free: 22.75 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.003884, allocations: 384 / 1.085 GB, free: 22.75 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.507e-05/0.003919, allocations: 9.5 kB / 1.085 GB, free: 22.74 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.532e-05/0.004014, allocations: 105.9 kB / 1.086 GB, free: 22.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.004173, allocations: 43.95 kB / 1.086 GB, free: 22.59 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.004199, allocations: 17.66 kB / 1.086 GB, free: 22.57 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.004218, allocations: 6.625 kB / 1.086 GB, free: 22.57 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.00423, allocations: 34.56 kB / 1.086 GB, free: 22.53 MB / 1.01 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.00423, allocations: 0 / 1.086 GB, free: 22.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=6): time 0.0004503/0.004681, allocations: 230.3 kB / 1.086 GB, free: 22.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.004701, allocations: 55.34 kB / 1.086 GB, free: 22.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.831e-05/0.004739, allocations: 102.3 kB / 1.086 GB, free: 22.17 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.004746, allocations: 29.7 kB / 1.086 GB, free: 22.14 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.245e-05/0.004759, allocations: 80.14 kB / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.00478, allocations: 18.17 kB / 1.086 GB, free: 22.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.004805, allocations: 30.73 kB / 1.086 GB, free: 22.01 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.762e-05/0.004833, allocations: 313.6 kB / 1.086 GB, free: 21.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.00485, allocations: 14.09 kB / 1.086 GB, free: 21.69 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.004867, allocations: 20.36 kB / 1.086 GB, free: 21.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.787e-05/0.004905, allocations: 29.14 kB / 1.086 GB, free: 21.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.004905, allocations: 3.938 kB / 1.086 GB, free: 21.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.246e-05/0.004968, allocations: 65.61 kB / 1.087 GB, free: 21.62 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.00498, allocations: 5.344 kB / 1.087 GB, free: 21.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.004985, allocations: 0 / 1.087 GB, free: 21.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.004996, allocations: 3.188 kB / 1.087 GB, free: 21.62 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.69e-05/0.005033, allocations: 14.47 kB / 1.087 GB, free: 21.61 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.005038, allocations: 3.938 kB / 1.087 GB, free: 21.61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.113e-05/0.005049, allocations: 0 / 1.087 GB, free: 21.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.005055, allocations: 6.531 kB / 1.087 GB, free: 21.61 MB / 1.01 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 3.549e-05/0.005091, allocations: 112.4 kB / 1.087 GB, free: 21.49 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.585e-06/0.005098, allocations: 5.781 kB / 1.087 GB, free: 21.49 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.005186, allocations: 72.17 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005188, allocations: 3.062 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.005191, allocations: 4.453 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005194, allocations: 3.188 kB / 1.087 GB, free: 21.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.005369, allocations: 259.7 kB / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.005371, allocations: 3.328 kB / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.005409, allocations: 12.22 kB / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.005411, allocations: 2.25 kB / 1.087 GB, free: 21.17 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.005417, allocations: 3.938 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005419, allocations: 2.719 kB / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00542, allocations: 0 / 1.087 GB, free: 21.16 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.00553, allocations: 181.8 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.005546, allocations: 9.594 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.005558, allocations: 6 kB / 1.087 GB, free: 21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.0056, allocations: 4 kB / 1.087 GB, free: 20.99 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.005615, allocations: 5.812 kB / 1.087 GB, free: 20.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.00562, allocations: 2.594 kB / 1.087 GB, free: 20.99 MB / 1.01 GB Notification: Performance of sorting global known variables: time 1.334e-05/0.005633, allocations: 81.66 kB / 1.087 GB, free: 20.91 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.005634, allocations: 2.312 kB / 1.087 GB, free: 20.91 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001701/0.005804, allocations: 31.19 kB / 1.087 GB, free: 20.9 MB / 1.01 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.000152/0.005956, allocations: 140.6 kB / 1.087 GB, free: 20.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.006034, allocations: 37.7 kB / 1.088 GB, free: 20.79 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006036, allocations: 0 / 1.088 GB, free: 20.79 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.006051, allocations: 14.42 kB / 1.088 GB, free: 20.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.006214, allocations: 9.578 kB / 1.088 GB, free: 20.78 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.006507, allocations: 199 kB / 1.088 GB, free: 20.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.137e-05/0.006538, allocations: 60.64 kB / 1.088 GB, free: 20.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.006556, allocations: 12.84 kB / 1.088 GB, free: 20.51 MB / 1.01 GB Notification: Performance of SimCode: time 3.51e-07/0.006557, allocations: 0 / 1.088 GB, free: 20.51 MB / 1.01 GB Notification: Performance of Templates: time 0.001788/0.008345, allocations: 0.9504 MB / 1.089 GB, free: 20.44 MB / 1.01 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: 7.482509010471404]