Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.001458/0.001458, allocations: 80.59 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001626/0.001626, allocations: 170.1 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.956/2.956, allocations: 390.1 MB / 0.6341 GB, free: 15.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 14.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 1.002 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/3.006e-05, allocations: 9.234 kB / 1.002 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.002539/0.002569, allocations: 1.366 MB / 1.003 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004114, allocations: 0.8598 MB / 1.004 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.004156, allocations: 0 / 1.004 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.004184, allocations: 3.938 kB / 1.004 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.004247, allocations: 11.86 kB / 1.004 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007821/0.005029, allocations: 230.8 kB / 1.004 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.005159, allocations: 47.78 kB / 1.004 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.005217, allocations: 0 / 1.004 GB, free: 1.676 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.005307, allocations: 23.92 kB / 1.004 GB, free: 1.652 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.005371, allocations: 11.98 kB / 1.004 GB, free: 1.641 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.00539, allocations: 4 kB / 1.004 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.006051, allocations: 379.4 kB / 1.005 GB, free: 1.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.006073, allocations: 8 kB / 1.005 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.006109, allocations: 19.92 kB / 1.005 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.006634, allocations: 295.2 kB / 1.005 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.006638, allocations: 0 / 1.005 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/0.00664, allocations: 0 / 1.005 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.006646, allocations: 0 / 1.005 GB, free: 0.9492 MB / 0.9044 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.0005931/0.007239, allocations: 351.1 kB / 1.005 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.194e-05/0.007301, allocations: 11.98 kB / 1.006 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.007574, allocations: 20.91 kB / 1.006 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.007721, allocations: 117.7 kB / 1.006 GB, free: 412 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.007746, allocations: 384 / 1.006 GB, free: 412 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.007774, allocations: 8.375 kB / 1.006 GB, free: 404 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.008007, allocations: 83.88 kB / 1.006 GB, free: 308 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.00802, allocations: 4.172 kB / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.008032, allocations: 384 / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.008038, allocations: 384 / 1.006 GB, free: 304 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.008176, allocations: 27.92 kB / 1.006 GB, free: 276 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.008378, allocations: 121.3 kB / 1.006 GB, free: 124 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.00874, allocations: 62.58 kB / 1.006 GB, free: 52 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.00883, allocations: 36.81 kB / 1.006 GB, free: 12 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.008845, allocations: 0 / 1.006 GB, free: 12 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.297e-05/0.008898, allocations: 30.56 kB / 1.006 GB, free: 15.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.008898, allocations: 0 / 1.006 GB, free: 15.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.002232/0.01113, allocations: 412.8 kB / 1.006 GB, free: 15.54 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.01118, allocations: 55.34 kB / 1.006 GB, free: 15.47 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01131, allocations: 130 kB / 1.007 GB, free: 15.33 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.01134, allocations: 29.7 kB / 1.007 GB, free: 15.29 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.01139, allocations: 80.14 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.01142, allocations: 19.86 kB / 1.007 GB, free: 15.19 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.0115, allocations: 33.69 kB / 1.007 GB, free: 15.15 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.01167, allocations: 314.8 kB / 1.007 GB, free: 14.84 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.01182, allocations: 47.97 kB / 1.007 GB, free: 14.79 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.01197, allocations: 51.97 kB / 1.007 GB, free: 14.74 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.01227, allocations: 103.7 kB / 1.007 GB, free: 14.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.01227, allocations: 3.938 kB / 1.007 GB, free: 14.63 MB / 0.92 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003943/0.01267, allocations: 145.5 kB / 1.007 GB, free: 14.48 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.0127, allocations: 8 kB / 1.007 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.01271, allocations: 3.984 kB / 1.007 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01273, allocations: 0 / 1.007 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01293, allocations: 23.98 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.01294, allocations: 3.938 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.01304, allocations: 4 kB / 1.007 GB, free: 14.44 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.01305, allocations: 3.984 kB / 1.007 GB, free: 14.44 MB / 0.92 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 0.0001365/0.01319, allocations: 117.8 kB / 1.008 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.01321, allocations: 3.953 kB / 1.008 GB, free: 14.31 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.01326, allocations: 12.44 kB / 1.008 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01327, allocations: 336 / 1.008 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.01328, allocations: 3.938 kB / 1.008 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01328, allocations: 0 / 1.008 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.01412, allocations: 323 kB / 1.008 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.01412, allocations: 0 / 1.008 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.01426, allocations: 19.92 kB / 1.008 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01427, allocations: 0 / 1.008 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.01428, allocations: 7.938 kB / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01428, allocations: 0 / 1.008 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.01429, allocations: 8.047 kB / 1.008 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.01481, allocations: 240.3 kB / 1.008 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.01485, allocations: 11.97 kB / 1.008 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.01488, allocations: 7.938 kB / 1.008 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.01501, allocations: 4 kB / 1.008 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.01504, allocations: 11.92 kB / 1.008 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.01505, allocations: 4 kB / 1.008 GB, free: 13.61 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.738e-05/0.01513, allocations: 94.52 kB / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.01513, allocations: 0 / 1.008 GB, free: 13.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000288/0.01542, allocations: 31.92 kB / 1.008 GB, free: 13.49 MB / 0.92 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.0002123/0.01563, allocations: 111.3 kB / 1.008 GB, free: 13.37 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.01603, allocations: 113.6 kB / 1.008 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01603, allocations: 3.938 kB / 1.008 GB, free: 13.25 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.01616, allocations: 35.97 kB / 1.009 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.01647, allocations: 11.98 kB / 1.009 GB, free: 13.2 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008794/0.01735, allocations: 249.8 kB / 1.009 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.01744, allocations: 77.48 kB / 1.009 GB, free: 12.84 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.01749, allocations: 4 kB / 1.009 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.01754, allocations: 20.48 kB / 1.009 GB, free: 12.81 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.01754, allocations: 3.938 kB / 1.009 GB, free: 12.8 MB / 0.92 GB Notification: Performance of Templates: time 0.00521/0.02275, allocations: 1.776 MB / 1.011 GB, free: 11.05 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 8.150447901338339] Failed to read output from testmodel.py, exit status != 0: 0.03181682154536247 0.046063498 0.036339831 Calling exit ...