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_DerivativeCheck2.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.0009761/0.0009761, allocations: 84.5 kB / 19.93 MB, free: 4.605 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.001511/0.001511, allocations: 173.9 kB / 23.21 MB, free: 1.324 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.9481/0.9481, allocations: 177.1 MB / 203.5 MB, free: 5.781 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.305/2.305, allocations: 439.8 MB / 0.6834 GB, free: 12.91 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.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der_m_flow|der_m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.102e-05, allocations: 2.281 kB / 1.082 GB, free: 24.75 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2): time 0.001431/0.001452, allocations: 1.395 MB / 1.084 GB, free: 23.78 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.002257, allocations: 0.9221 MB / 1.085 GB, free: 23.18 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.002291, allocations: 0 / 1.085 GB, free: 23.18 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.00231, allocations: 3.938 kB / 1.085 GB, free: 23.17 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.002353, allocations: 17.78 kB / 1.085 GB, free: 23.16 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.002859, allocations: 275.7 kB / 1.085 GB, free: 23.04 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 7.031e-05/0.002929, allocations: 56.58 kB / 1.085 GB, free: 23.02 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.002965, allocations: 3.031 kB / 1.085 GB, free: 23.02 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.003009, allocations: 33.05 kB / 1.085 GB, free: 23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 4.898e-05/0.003058, allocations: 22.22 kB / 1.085 GB, free: 23 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.00307, allocations: 5.344 kB / 1.085 GB, free: 23 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.003474, allocations: 497.8 kB / 1.086 GB, free: 22.9 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.00349, allocations: 14.31 kB / 1.086 GB, free: 22.89 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.003512, allocations: 22.41 kB / 1.086 GB, free: 22.88 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.003805, allocations: 345.7 kB / 1.086 GB, free: 22.79 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003807, allocations: 0 / 1.086 GB, free: 22.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003808, allocations: 0 / 1.086 GB, free: 22.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.003812, allocations: 3.938 kB / 1.086 GB, free: 22.78 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003741/0.004186, allocations: 372.5 kB / 1.086 GB, free: 22.43 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.004218, allocations: 7.875 kB / 1.086 GB, free: 22.43 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.00425, allocations: 6.188 kB / 1.086 GB, free: 22.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.286e-05/0.004303, allocations: 116.2 kB / 1.086 GB, free: 22.3 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.004313, allocations: 3 kB / 1.086 GB, free: 22.3 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.004333, allocations: 7 kB / 1.086 GB, free: 22.29 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.004433, allocations: 101.4 kB / 1.086 GB, free: 22.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.004441, allocations: 192 / 1.086 GB, free: 22.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.004452, allocations: 8.109 kB / 1.087 GB, free: 22.19 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004456, allocations: 2.625 kB / 1.087 GB, free: 22.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.004502, allocations: 24.53 kB / 1.087 GB, free: 22.18 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.00461, allocations: 136.8 kB / 1.087 GB, free: 22.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.729e-05/0.004697, allocations: 56.11 kB / 1.087 GB, free: 22 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.004728, allocations: 25.45 kB / 1.087 GB, free: 21.99 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.004745, allocations: 4 kB / 1.087 GB, free: 21.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.004759, allocations: 33.19 kB / 1.087 GB, free: 21.95 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 6.01e-07/0.00476, allocations: 0 / 1.087 GB, free: 21.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.0007725/0.005532, allocations: 0.5013 MB / 1.087 GB, free: 21.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.906e-05/0.005552, allocations: 51.41 kB / 1.087 GB, free: 21.53 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.137e-05/0.005613, allocations: 124 kB / 1.087 GB, free: 21.42 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.005621, allocations: 32.33 kB / 1.087 GB, free: 21.39 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.005637, allocations: 91.55 kB / 1.088 GB, free: 21.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.005659, allocations: 36.33 kB / 1.088 GB, free: 21.27 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.005694, allocations: 40.84 kB / 1.088 GB, free: 21.24 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.762e-05/0.005722, allocations: 320.8 kB / 1.088 GB, free: 20.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.005767, allocations: 46.91 kB / 1.088 GB, free: 20.9 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.005811, allocations: 50.47 kB / 1.088 GB, free: 20.88 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.606e-05/0.005907, allocations: 124.5 kB / 1.088 GB, free: 20.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005908, allocations: 7.938 kB / 1.088 GB, free: 20.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001354/0.006043, allocations: 166.9 kB / 1.088 GB, free: 20.72 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006054, allocations: 5.281 kB / 1.088 GB, free: 20.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.006066, allocations: 6.75 kB / 1.088 GB, free: 20.72 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.006076, allocations: 0 / 1.088 GB, free: 20.72 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.006142, allocations: 30.19 kB / 1.088 GB, free: 20.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.006147, allocations: 2.562 kB / 1.088 GB, free: 20.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.006163, allocations: 0 / 1.088 GB, free: 20.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.006171, allocations: 9.047 kB / 1.088 GB, free: 20.71 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 (14): * Single equations (assignments): 13 * 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 3.974e-05/0.006211, allocations: 112.8 kB / 1.088 GB, free: 20.59 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.006219, allocations: 10.36 kB / 1.088 GB, free: 20.58 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.006379, allocations: 132.4 kB / 1.089 GB, free: 20.51 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006381, allocations: 2.719 kB / 1.089 GB, free: 20.51 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.006385, allocations: 0 / 1.089 GB, free: 20.51 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.006388, allocations: 0 / 1.089 GB, free: 20.51 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.006656, allocations: 316.1 kB / 1.089 GB, free: 20.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006657, allocations: 0 / 1.089 GB, free: 20.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.006725, allocations: 31.86 kB / 1.089 GB, free: 20.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006727, allocations: 0 / 1.089 GB, free: 20.24 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006734, allocations: 3.156 kB / 1.089 GB, free: 20.24 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.006735, allocations: 0 / 1.089 GB, free: 20.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006736, allocations: 4 kB / 1.089 GB, free: 20.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.006898, allocations: 229.7 kB / 1.089 GB, free: 20.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.006905, allocations: 10.67 kB / 1.089 GB, free: 20.06 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.006916, allocations: 0 / 1.089 GB, free: 20.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.722e-05/0.006964, allocations: 10.5 kB / 1.089 GB, free: 20.05 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.006979, allocations: 16.22 kB / 1.089 GB, free: 20.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.006984, allocations: 2.906 kB / 1.089 GB, free: 20.05 MB / 1.01 GB Notification: Performance of sorting global known variables: time 2.062e-05/0.007005, allocations: 99.03 kB / 1.089 GB, free: 19.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.007005, allocations: 0 / 1.089 GB, free: 19.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001988/0.007204, allocations: 96.25 kB / 1.089 GB, free: 19.94 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002016/0.007405, allocations: 211.5 kB / 1.09 GB, free: 19.81 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.007553, allocations: 120.8 kB / 1.09 GB, free: 19.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.007555, allocations: 3.938 kB / 1.09 GB, free: 19.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.543e-05/0.007591, allocations: 31.7 kB / 1.09 GB, free: 19.74 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.007771, allocations: 15.75 kB / 1.09 GB, free: 19.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.008115, allocations: 289.3 kB / 1.09 GB, free: 19.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.008151, allocations: 82.83 kB / 1.09 GB, free: 19.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.00818, allocations: 19.94 kB / 1.09 GB, free: 19.41 MB / 1.01 GB Notification: Performance of SimCode: time 4.01e-07/0.00818, allocations: 0 / 1.09 GB, free: 19.41 MB / 1.01 GB Notification: Performance of Templates: time 0.002456/0.01064, allocations: 1.916 MB / 1.092 GB, free: 19.24 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2 -emit_protected > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.617031722329557]