Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.001067/0.001067, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002478, 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.001054/0.001054, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002363, 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.8795/0.8795, allocations: 177.2 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07704/0.9566, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.295/2.295, allocations: 440.5 MB / 0.6683 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2319/2.527, allocations: 143.9 MB / 0.8089 GB, free: 12.39 MB / 0.7917 GB " [Timeout remaining time 177] 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.PowerLaw_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.PowerLaw_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.PowerLaw_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.8102 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.831e-05, allocations: 2.312 kB / 0.8102 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck): time 0.00158/0.001598, allocations: 1.466 MB / 0.8116 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.002517, allocations: 0.9808 MB / 0.8126 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.002541, allocations: 0 / 0.8126 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.398e-06/0.00255, allocations: 3.938 kB / 0.8126 GB, free: 8.594 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.002578, allocations: 3.938 kB / 0.8126 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.002964, allocations: 270.7 kB / 0.8128 GB, free: 8.324 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.281e-05/0.003037, allocations: 47.8 kB / 0.8129 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.003076, allocations: 7.969 kB / 0.8129 GB, free: 8.27 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.003147, allocations: 35.89 kB / 0.8129 GB, free: 8.234 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.003203, allocations: 11.98 kB / 0.8129 GB, free: 8.223 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003218, allocations: 4 kB / 0.8129 GB, free: 8.219 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.003807, allocations: 0.4993 MB / 0.8134 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003826, allocations: 11.94 kB / 0.8134 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.003844, allocations: 8 kB / 0.8134 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.004161, allocations: 303.1 kB / 0.8137 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.004171, allocations: 0 / 0.8137 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004172, allocations: 0 / 0.8137 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.004182, allocations: 0 / 0.8137 GB, free: 7.402 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.0003784/0.00456, allocations: 351.5 kB / 0.8141 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.004593, allocations: 8.625 kB / 0.8141 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.004622, allocations: 4.938 kB / 0.8141 GB, free: 7.023 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.004713, allocations: 121.7 kB / 0.8142 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.004723, allocations: 384 / 0.8142 GB, free: 6.879 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.004749, allocations: 12.38 kB / 0.8142 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.305e-05/0.004832, allocations: 59.95 kB / 0.8143 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.004838, allocations: 192 / 0.8143 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.004845, allocations: 4.125 kB / 0.8143 GB, free: 6.793 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.004849, allocations: 4 kB / 0.8143 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.00487, allocations: 11.88 kB / 0.8143 GB, free: 6.777 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.582e-05/0.004956, allocations: 68.97 kB / 0.8143 GB, free: 6.695 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.005084, allocations: 30.72 kB / 0.8144 GB, free: 6.656 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.005102, allocations: 12.84 kB / 0.8144 GB, free: 6.641 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.005117, allocations: 8 kB / 0.8144 GB, free: 6.633 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.005138, allocations: 38.56 kB / 0.8144 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005139, allocations: 0 / 0.8144 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0004654/0.005604, allocations: 241 kB / 0.8147 GB, free: 6.316 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.005628, allocations: 55.34 kB / 0.8147 GB, free: 6.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.005691, allocations: 133.5 kB / 0.8148 GB, free: 6.109 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.005702, allocations: 29.7 kB / 0.8149 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.168e-05/0.005724, allocations: 84.12 kB / 0.815 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.00575, allocations: 27.77 kB / 0.815 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.005782, allocations: 33.7 kB / 0.815 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.005854, allocations: 318.8 kB / 0.8153 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.005871, allocations: 12 kB / 0.8153 GB, free: 5.59 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.005885, allocations: 12 kB / 0.8153 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.005934, allocations: 52.7 kB / 0.8154 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005936, allocations: 0 / 0.8154 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.204e-05/0.006008, allocations: 77.06 kB / 0.8155 GB, free: 5.445 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006018, allocations: 4 kB / 0.8155 GB, free: 5.441 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.006028, allocations: 4 kB / 0.8155 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/0.006035, allocations: 0 / 0.8155 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.006075, allocations: 20.31 kB / 0.8155 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.006078, allocations: 3.938 kB / 0.8155 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.277e-05/0.006091, allocations: 0 / 0.8155 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006095, allocations: 0 / 0.8155 GB, free: 5.414 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.824e-05/0.006144, allocations: 117.8 kB / 0.8156 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.006151, allocations: 4 kB / 0.8156 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.006235, allocations: 66.09 kB / 0.8157 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006237, allocations: 4 kB / 0.8157 GB, free: 5.211 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.006239, allocations: 3.938 kB / 0.8157 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006242, allocations: 128 / 0.8157 GB, free: 5.207 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.006414, allocations: 227.6 kB / 0.8159 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.006415, allocations: 0 / 0.8159 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.006453, allocations: 12 kB / 0.8159 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006455, allocations: 3.938 kB / 0.8159 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.00646, allocations: 0 / 0.8159 GB, free: 4.941 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.006462, allocations: 7.938 kB / 0.8159 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.006464, allocations: 0 / 0.8159 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.006568, allocations: 164.3 kB / 0.8161 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.006584, allocations: 7.984 kB / 0.8161 GB, free: 4.746 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-06/0.006594, allocations: 4 kB / 0.8161 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.006628, allocations: 3.938 kB / 0.8161 GB, free: 4.738 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.00664, allocations: 12.05 kB / 0.8161 GB, free: 4.727 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006644, allocations: 0 / 0.8161 GB, free: 4.727 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 1.347e-05/0.006658, allocations: 16.84 kB / 0.8161 GB, free: 4.707 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.006658, allocations: 4 kB / 0.8161 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001716/0.006829, allocations: 75.67 kB / 0.8162 GB, free: 4.629 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.0001858/0.007015, allocations: 176 kB / 0.8164 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.042e-05/0.007106, allocations: 74.48 kB / 0.8164 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.007108, allocations: 0 / 0.8164 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.877e-05/0.007127, allocations: 24.78 kB / 0.8165 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.007263, allocations: 16.8 kB / 0.8165 GB, free: 4.324 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.007679, allocations: 223.8 kB / 0.8167 GB, free: 4.07 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.957e-05/0.007718, allocations: 71.34 kB / 0.8168 GB, free: 3.98 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.007773, allocations: 63.36 kB / 0.8168 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/0.007774, allocations: 0 / 0.8168 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of Templates: time 0.001955/0.009729, allocations: 1.531 MB / 0.8183 GB, free: 2.395 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.561038099229336]